Commit graph

83 commits

Author SHA1 Message Date
Daniel Dudzic
f52117c196
Apple Pay: Fix shipping method switching inside of the Apple Pay modal in Classic Checkout 2024-08-08 15:38:08 +02:00
Daniel Dudzic
bc58fce8a0
Apple Pay: Fix the shipping callback 2024-08-06 10:56:37 +02:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Daniel Dudzic
6a2c433484
Fix Apple Pay when shipping is disabled 2024-07-03 16:39:46 +02:00
Philipp Stracker
4c10c37782
♻️ Extract button-refresh logic to own helper file
- Exrtract repeat event-init logic to new helper file
- Remove the jQuery dependency
2024-06-26 18:16:54 +02:00
Philipp Stracker
5ed2f37bd4
Listeners for custom “refresh button” event 2024-06-26 17:57:45 +02:00
Philipp Stracker
874ebbc7a0
🎨 Minor: Apply WP Code Style
- Consistent quote-style
- Insert missing semicolons in JS
- Fix some whitespaces
2024-06-12 15:31:33 +02:00
Philipp Stracker
cea292684b
🎨 Minor code structure changes 2024-06-12 11:27:59 +02:00
Philipp Stracker
aa9c02a786
♻️ Improve SDK loading in PreviewButtonManager 2024-06-11 15:58:43 +02:00
Philipp Stracker
3d26c525e1
🔥 Remove old preview button code comment 2024-06-07 21:18:55 +02:00
Philipp Stracker
6f73e82d3e
Preview buttons can be static
When the current page does not contain any edit-fields for the current APM preview button, it enters “static” mode. Static buttons ignore most update requests, and render as they were defined during page load
2024-06-07 21:14:12 +02:00
Philipp Stracker
93f3e4e7ac
🦺 Add check for config that causes infinite loop 2024-06-07 21:12:34 +02:00
Philipp Stracker
33c6c06e85
🐛 Fix button specific config-preparation 2024-06-07 15:42:16 +02:00
Philipp Stracker
da64ffbac5
Add preview button for Apple Pay on ACDC
Note: `phpcbf` adjusted whitespace in extensions.php
2024-06-07 15:00:15 +02:00
Philipp Stracker
d1a93a1b55
🎨 Isolate condition for preview buttons
This step makes it easier to refactor/update the logic in the next step.
2024-06-03 17:19:18 +02:00
Daniel Dudzic
436fd77587
Fix the Apple Pay button in the editor 2024-04-23 15:00:05 +02:00
Pedro Silva
9cb63040d8
Merge branch 'trunk' into PCP-2347-new-feature-accelerated-checkout
# Conflicts:
#	modules.php
2024-04-12 10:22:47 +01:00
Pedro Silva
9bf23550dd
Insights preparation. 2024-04-11 17:14:22 +01:00
Pedro Silva
0cf3f946c6
Fix ApplePay token update 2024-01-31 14:59:47 +00:00
Pedro Silva
8d82e51506
Fix subscription validations 2024-01-31 10:32:21 +00:00
Pedro Silva
ebcc2ba3f9
Fix subscription validations 2024-01-30 18:22:53 +00:00
Pedro Silva
c342a4a0d8
Add ApplePay subscription validations in block pages. 2024-01-30 17:46:28 +00:00
Pedro Silva
94b92d8434
Remove not needed code. 2024-01-24 18:15:50 +00:00
Pedro Silva
80df0c9b27
Fix lint 2024-01-24 15:13:57 +00:00
Pedro Silva
96b83c9d0d
ApplePay Vaulting Integration 2024-01-24 08:47:48 +00:00
Emili Castells
e465bfb900
Merge pull request #1915 from woocommerce/PCP-2472-google-pay-and-apple-pay-buttons-disappear-when-adding-a-product-to-the-cart-on-the-shop-page
GooglePay and ApplePay buttons disappear from the minicart when adding a product to the cart on the shop page (PCP-2472)
2024-01-05 12:08:17 +01:00
Pedro Silva
c8ee62892a
Improvement of fix spacing when switching ApplePay payment method in checkout page. 2023-12-21 12:01:01 +00:00
Pedro Silva
db997e934e
Fix spacing when switching ApplePay payment method in checkout page. 2023-12-21 11:46:21 +00:00
Pedro Silva
7f5836e885
Fix rerender ApplePay and GooglePay upon cart refresh. 2023-12-18 17:42:02 +00:00
Pedro Silva
83a53ee223
Fix button margins on separate gateways 2023-12-15 17:11:16 +00:00
Pedro Silva
39040eb8e3
Remove unused code. 2023-12-13 10:18:37 +00:00
Pedro Silva
ec0dd5221d
Adjustments to apm button layouts. 2023-12-11 17:14:43 +00:00
Pedro Silva
55c7900a3e
Adjust block button styles. 2023-12-11 12:02:06 +00:00
Pedro Silva
46c575a401
Fix apm button styling 2023-12-07 18:20:58 +00:00
Alex P
ea35893a82
Fix method id check 2023-11-23 08:46:48 +02:00
Alex P
018ba0de3e
Handle block google/apple buttons height 2023-11-22 17:27:21 +02:00
Alex P
1f2e5f24e1
Remove unneeded variable 2023-11-22 10:23:39 +02:00
Emili Castells
aec5e6431c
Merge pull request #1832 from woocommerce/PCP-2158-apple-pay-use-checkout-form-data-to-update-shipping-and-billing
ApplePay use checkout form data to update shipping and billing (2158)
2023-11-15 12:02:57 +01:00
Pedro Silva
24f98cd038
Disabled GooglePay and ApplePay on locations with subsciption products. 2023-11-13 17:36:18 +00:00
Pedro Silva
2f5f51e518
Uniformize ApplePay javascript coding style.
Add support for checkout form data to ApplePay.
Add checkout shipping mode option in ApplePay settings.
2023-11-09 17:50:57 +00:00
Pedro Silva
3a39bccc54
Add ApplePay checkout data mode settings option.
Refactor admin indentation.
2023-11-08 18:07:19 +00:00
Pedro Silva
0e59051815
Merge branch 'trunk' into PCP-2158-apple-pay-use-checkout-form-data-to-update-shipping-and-billing
# Conflicts:
#	modules/ppcp-applepay/resources/js/ApplepayButton.js
2023-11-08 15:01:21 +00:00
Pedro Silva
d49eb60358
Testing shipping fields updating ApplePay addresses on checkout page 2023-11-06 10:15:56 +00:00
Pedro Silva
06087f7e67
Merge branch 'trunk' into PCP-2186-apple-pay-button-preview 2023-11-03 14:01:15 +00:00
Pedro Silva
1b87bc3da1
Add ApplePay preview support on non ios devices
Fix clicking on preview ApplePay / GooglePay buttons
2023-11-03 11:44:06 +00:00
Pedro Silva
118e49cfde
Add ApplePay preview in admin settings. 2023-11-03 10:30:31 +00:00
Pedro Silva
32e2fb5a43
Merge branch 'trunk' into PCP-2172-order-failed-after-changing-shipping-options-on-apple-pay-window-product-page 2023-11-03 10:28:37 +00:00
Pedro Silva
976e8b90ca
Fix ApplePay and GooglePay on block pages 2023-10-31 15:00:05 +00:00
Pedro Silva
cb753cf47c
Merge branch 'trunk' into PCP-2157-apple-pay-add-support-for-pay-now-page
# Conflicts:
#	modules/ppcp-applepay/resources/js/Context/SingleProductHandler.js
2023-10-31 10:40:02 +00:00
Pedro Silva
ad32a4ff21
Add PayNow support to ApplePay 2023-10-31 10:35:29 +00:00