Commit graph

190 commits

Author SHA1 Message Date
Philipp Stracker
c23129cb91
🐛 Render preview when enabling the button
Before this, the “is enabled” checkbox was not observed; enabling it did not cause a preview button to render, and required changing any other form field that was linked to the button

Also start to extract some logic to a new helper file.
2024-06-12 18:12:07 +02:00
Philipp Stracker
6ee4a40e18
🎨 Remove unnecessary condition 2024-06-12 15:47:31 +02:00
Philipp Stracker
f3f6765ac3
🐛 Hide disabled APM buttons in Standard Payments 2024-06-12 15:45:54 +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
d69fb5bc70
🐛 Load button preview JS on ACDC settings page
Renamed the DI service name; this service is only used in two places (APM modules), which were also updated.
2024-06-05 18:05:06 +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
Philipp Stracker
639ced5c91
🩹 Fix incorrect links to AP/GP payment settings
The settings button for Apple Pay and Google Pay now directs users to the correct tab and section.
2024-05-28 16:41:33 +02:00
Daniel Dudzic
5d30ac1349
Update the Apple validation string 2024-05-22 11:05:38 +02:00
Narek Zakarian
89f26aa328
Fix psalm problems 2024-05-15 14:36:13 +04:00
Daniel Dudzic
5aa00d8914
Fix PHPCS and Psalm errors 2024-04-23 15:18:04 +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
832baeaac9
Fix lint. 2024-04-11 18:07:20 +01:00
Pedro Silva
9bf23550dd
Insights preparation. 2024-04-11 17:14:22 +01:00
Pedro Silva
c71c56973a
Implement AXO order processing
Implement AXO settings
2024-04-10 15:51:19 +01:00
Pedro Silva
b7d43d3c5b
Restructure Advanced Card Processing settings 2024-03-01 15:05:17 +00:00
Pedro Silva
e0dd215d92
Fix lint
Revert authentication
2024-02-19 14:48:02 +00:00
Pedro Silva
9d2525ffcb
Fix admin ident styles 2024-02-16 15:04:36 +00:00
Emili Castells
5ad95568bf
Merge pull request #2019 from woocommerce/PCP-2646-update-country-eligibility-for-advanced-card-processing-apple-pay-google-pay
Update country eligibility for advanced card processing apple pay google pay (2646)
2024-02-15 16:31:47 +01:00
Emili Castells
0181186f35
Merge pull request #2015 from woocommerce/PCP-2626-cannot-enable-apple-pay
Cannot enable Apple Pay when API credentials were manually created (2626)
2024-02-15 16:31:12 +01:00
Pedro Silva
4a98c01883
Fix checking of ApplePay and GooglePay product status capabilities 2024-02-14 11:20:49 +00:00
Pedro Silva
e37177725e
Add filters to override ApplePay and GooglePay product status checks. 2024-02-13 15:04:08 +00:00
Narek Zakarian
a28be427aa
Update the countries & currency combinations for Apple Pay 2024-02-08 17:31:51 +04:00
Emili Castells
037f650288
Merge pull request #1986 from woocommerce/PCP-2521-apple-pay-recurring-payments
Apple Pay recurring payments (2521)
2024-02-07 10:47:08 +01:00
Pedro Silva
42f3e575bc
Fix inconsistent instance of AppleProductStatus 2024-02-02 17:16:42 +00: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
6c0e0a96dc
Merge branch 'trunk' into PCP-2521-apple-pay-recurring-payments 2024-01-30 17:53:38 +00:00
Pedro Silva
c342a4a0d8
Add ApplePay subscription validations in block pages. 2024-01-30 17:46:28 +00:00
George Burduli
7fe0b636fe
Extend Apple Pay country eligibility to EU20 2024-01-26 01:01:24 +04: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
Pedro Silva
c24d159a3f
Add setup URL for reference transactions. 2024-01-16 14:24:34 +00:00
Emili Castells
0cebc5c2cc
Merge pull request #1938 from woocommerce/PCP-2490-improve-apple-pay-validation-notice-text
Improve Apple Pay validation notice text (2490)
2024-01-05 12:11:19 +01: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
2516bb7dad
Change ApplePay validation message. 2024-01-03 13:48:57 +00: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
Emili Castells
ea23d09010
Merge pull request #1900 from woocommerce/PCP-2177-uniform-smart-button-display-for-pay-pal-google-pay-and-apple-pay
Uniform Smart Button Display for PayPal, Google Pay, and Apple Pay (2177)
2023-12-14 09:56:11 +01:00