Daniel Dudzic
b63b1e7c39
Apple Pay: Fix default height and border radius
2024-11-15 09:36:27 +01:00
Daniel Dudzic
9766ade13d
Apple Pay: Register support for the Button Options
2024-11-14 21:38:06 +01:00
Daniel Dudzic
088d17e927
Apple Pay: Add support for Button Options in the Block Checkout
2024-11-14 09:25:09 +01:00
Philipp Stracker
e4da77ace5
🐛 Fix the Apple Pay button style on front end
2024-10-30 12:39:24 +01:00
Philipp Stracker
40688b706f
🐛 FIx the button preview in admin settings
2024-10-30 12:17:41 +01:00
Philipp Stracker
367f2b86c4
Update modules/ppcp-applepay/resources/js/boot-block.js
...
Co-authored-by: Danny Dudzic <d.dudzic@syde.com>
2024-10-23 15:46:38 +02:00
Philipp Stracker
8169a6a70b
🎨 Minor code improvement
2024-10-21 16:44:59 +02:00
Philipp Stracker
50922eb779
🚧 Add block integration (same as GooglePay)
2024-10-11 11:13:15 +02:00
Philipp Stracker
b6111e1774
🐛 Add missing event handler to payment button
2024-10-09 15:04:03 +02:00
Philipp Stracker
e0f0ec973b
🚧 Migrate the addButton logic
2024-10-09 15:02:14 +02:00
Philipp Stracker
a4b3f2a079
🚧 Migrate eligibility check
2024-10-09 14:39:13 +02:00
Philipp Stracker
74e806535e
🚧 Clean up the init logic
2024-10-09 14:38:43 +02:00
Philipp Stracker
ca93e8e56d
🚧 Remove more legacy code
2024-10-09 14:31:36 +02:00
Philipp Stracker
8aa4d47b68
♻️ Start ApplePaySession after handlers were added
...
Apple Pay SDK docs hint that “begin()” must be called after setting up the event handlers.
2024-10-09 14:30:08 +02:00
Philipp Stracker
d1607e3ebc
🔥 Remove incorrect validation rule
2024-10-09 14:07:54 +02:00
Philipp Stracker
90542293d8
🚧 Remove duplicate getters
2024-10-09 14:04:43 +02:00
Philipp Stracker
e95321cf82
🐛 Fix incorrect validation rule
2024-10-09 14:04:21 +02:00
Philipp Stracker
f41fa4f951
✨ Streamline button configuraton validation logic
2024-10-08 18:47:32 +02:00
Philipp Stracker
560ec32e26
🚧 Implement requireShipping getter
2024-10-08 14:54:42 +02:00
Philipp Stracker
6a48c07236
✨ Add transaction info to ApplePay initialization
2024-10-08 14:54:00 +02:00
Philipp Stracker
35473df661
♻️ Make internal attributes private
2024-10-08 14:26:46 +02:00
Philipp Stracker
0d72641ded
✨ Apply new namespaced script loading
2024-10-08 14:25:43 +02:00
Philipp Stracker
c9bae62d6c
🚧 Remove unused code
2024-10-07 15:32:48 +02:00
Philipp Stracker
d80e92b5e8
🚧 Minor refactoring in boot.js
2024-10-07 15:19:26 +02:00
Philipp Stracker
c00c9c2e13
🚧 Update boot.js to same logic as Google Pay
2024-10-07 15:19:22 +02:00
Philipp Stracker
b78a1a112a
🚧 Remove jQuery from boot.js
2024-10-07 15:19:18 +02:00
Philipp Stracker
3d271586a3
♻️ Simplify the address extraction logic
2024-10-07 14:56:09 +02:00
Philipp Stracker
7c56d58fe4
🚧 Swap local object for official config object
2024-10-07 12:37:05 +02:00
Philipp Stracker
0a212edb89
♻️ Further streamline button-manager classes
2024-10-07 12:34:05 +02:00
Philipp Stracker
c2d5c8f3c5
🚧 Adjust button-manager to new workflow
2024-10-07 12:27:20 +02:00
Philipp Stracker
d5e406a563
🚧 Migrate button initialization to new workflow
...
The ContextHandlerFactory previously was used inside the ApplePayButton constructor.
2024-10-07 12:13:46 +02:00
Philipp Stracker
64b1bf3c41
🚧 Minor cleanup
2024-10-07 12:12:21 +02:00
Philipp Stracker
2646cf4a44
🚧 Add new validation & configuration methods
2024-10-07 12:07:19 +02:00
Philipp Stracker
7b2397f86b
🚧 Make remaining attributes private
2024-10-07 12:04:50 +02:00
Philipp Stracker
3180c2933c
🚧 Remove obsolete attributes
...
Those have moved to the parent class
2024-10-07 12:02:21 +02:00
Philipp Stracker
3c03c2ce3b
🚧 Add css-class to style the payment button
...
Used by the parent class
2024-10-07 12:01:26 +02:00
Philipp Stracker
39b9c784d4
🚧 Implement getters for wrapper & styles
2024-10-07 11:54:19 +02:00
Philipp Stracker
0ef461e4b2
🚧 Fix code style
2024-10-07 11:35:39 +02:00
Philipp Stracker
9322812caa
🚧 Remove #isInitialized and obsolete getter
2024-10-07 11:35:13 +02:00
Philipp Stracker
c6ed763f0f
🚧 Remove obsolete functions
2024-10-07 11:31:00 +02:00
Philipp Stracker
d1bb877553
🚧 Update the constructor
2024-10-07 11:00:39 +02:00
Philipp Stracker
eef4c80a48
🚧 Remove unused methods
2024-10-07 10:58:53 +02:00
Philipp Stracker
096aa4fc53
🚧 Extend class from PaymentButton base
2024-10-07 10:48:04 +02:00
Philipp Stracker
3430ccc01a
🐛 Removed deprecated CSS rule
...
The correct CSS that is expected and handled by the JS integration is generated by PHP in the class method `ApplePayButton::hide_gateway_until_eligible()`
2024-10-04 16:14:46 +02:00
Emili Castells
f6646e23b3
Merge pull request #2643 from woocommerce/PCP-3695-apple-pay-button-broken-on-product-page
...
Unsuccessfully payment from product page with Apple Pay button (3695)
2024-10-03 10:44:38 +02:00
Emili Castells
8592213b9a
Merge pull request #2464 from woocommerce/PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
...
Fix the Google Pay button in the block Checkout in the editor (3374)
2024-10-03 10:39:01 +02:00
Philipp Stracker
c44a9c6fc1
🐛 Fix ApplePay bug on product page
2024-09-26 15:12:33 +02:00
Philipp Stracker
d78201634b
💡 Add todo about missin refactoring
2024-09-06 15:24:06 +02:00
Philipp Stracker
a128228c86
🔀 Merge branch 'trunk'
...
# Conflicts:
# modules/ppcp-applepay/resources/js/ApplepayButton.js
# modules/ppcp-applepay/resources/js/boot-admin.js
# modules/ppcp-button/resources/js/modules/Preview/PreviewButtonManager.js
# modules/ppcp-googlepay/resources/js/GooglepayButton.js
# modules/ppcp-googlepay/resources/js/boot-admin.js
2024-09-06 15:19:17 +02:00
Philipp Stracker
8577594033
🐛 Remove the empty Apple Pay wrapper
2024-08-28 13:41:55 +02:00