Commit graph

6607 commits

Author SHA1 Message Date
Emili Castells Guasch
c68db5c1a1 Fix phpcs 2024-08-06 11:35:28 +02:00
Emili Castells Guasch
86860d4fd6 Fix phpunit 2024-08-06 11:23:50 +02:00
Emili Castells Guasch
9c380917c5 Fix phpunit 2024-08-06 11:14:46 +02:00
Daniel Dudzic
bc58fce8a0
Apple Pay: Fix the shipping callback 2024-08-06 10:56:37 +02:00
Emili Castells Guasch
54657ed649 Add tokens cache 2024-08-06 10:44:54 +02:00
Emili Castells Guasch
bea17db588 Use client credentials 2024-08-06 09:25:28 +02:00
Emili Castells Guasch
2edeac5544 Add new create order endpoint (WIP) 2024-08-05 17:36:56 +02:00
Philipp Stracker
3c200e408a
🚚 Move ConsoleLogger to wc-gateway module 2024-08-05 12:54:24 +02:00
Philipp Stracker
f69209b91c
New PaymentButton base class for APM buttons
This class is used to render buttons in the front end, and encapsulates logic that is shared between ApplePay and GooglePay buttons
2024-08-02 17:12:07 +02:00
Philipp Stracker
f1f243505c
Introduce a new ConsoleLogger JS class
Extract debug logic to separate component
2024-08-02 16:32:27 +02:00
Philipp Stracker
9da37a2cc6
Introduce new “isVisible” flag 2024-08-02 15:57:57 +02:00
Emili Castells Guasch
2815fcbb91 Fix phpcs 2024-08-02 15:24:26 +02:00
Daniel Dudzic
fe8101699f
Fix the PayPal enabled settings key 2024-08-02 12:30:39 +02:00
Danny Dudzic
70fe162cd2
Merge pull request #2434 from woocommerce/PCP-3075-fastlane-gateway-displayed-when-enable-pay-pal-features-for-your-store-is-not-checked
AXO: Ensure Fastlane scripts do not load when PayPal is disabled (3075)
2024-08-01 23:09:57 +02:00
Danny Dudzic
0e401e25af
Merge pull request #2424 from woocommerce/PCP-3156-fastlane-strip-empty-spaces-from-email-to-trigger-profile-lookup
AXO: Add whitespace stripping on submission (3156)
2024-08-01 23:09:29 +02:00
Danny Dudzic
f509f61bdd
Merge pull request #2480 from woocommerce/PCP-3489-fastlane-display-notice-when-advanced-card-processing-gateway-is-disabled
Fastlane display notice when Advanced Card Processing gateway is disabled (3489)
2024-08-01 23:08:07 +02:00
Daniel Dudzic
61865a3b7a
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3489-fastlane-display-notice-when-advanced-card-processing-gateway-is-disabled 2024-08-01 22:58:28 +02:00
Danny Dudzic
64fd1342a1
Merge pull request #2461 from woocommerce/PCP-3474-fastlane-create-notice-about-potentially-incompatible-plugins
AXO: Add a notice when incompatible plugins are active (3474)
2024-08-01 22:57:41 +02:00
Daniel Dudzic
f98bd052ed
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3474-fastlane-create-notice-about-potentially-incompatible-plugins 2024-08-01 22:46:29 +02:00
Danny Dudzic
fc5d50a72e
Merge pull request #2432 from woocommerce/PCP-3392-do-not-render-fastlane-when-shipping-destination-is-set-to-force-shipping-to-the-customer-billing-address
AXO: Add warning when shipping config is not compatible (3392)
2024-08-01 22:45:07 +02:00
Daniel Dudzic
59e6dea5c7
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3392-do-not-render-fastlane-when-shipping-destination-is-set-to-force-shipping-to-the-customer-billing-address 2024-08-01 22:31:39 +02:00
Daniel Dudzic
6c4c31fbf0
AXO: Fix the main notice key in the display manager 2024-08-01 22:25:46 +02:00
Daniel Dudzic
70f5b60aee
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3474-fastlane-create-notice-about-potentially-incompatible-plugins 2024-08-01 22:11:21 +02:00
Daniel Dudzic
5b1fa0795f
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3489-fastlane-display-notice-when-advanced-card-processing-gateway-is-disabled 2024-08-01 22:03:13 +02:00
Danny Dudzic
148b9e656d
Merge pull request #2484 from woocommerce/PCP-3490-frontend-logger-endpoint-called-when-fastlane-is-active-but-logging-is-deactivated
AXO: Refactor the debug script in order to remove unnecessary logger calls (3490)
2024-08-01 19:22:30 +02:00
Danny Dudzic
bb0a16d58d
Merge pull request #2478 from woocommerce/PCP-3491-fastlane-hide-gateway-from-payments-tab-in-woo-commerce-settings
AXO: Temporarily hide the Fastlane payment method (3491)
2024-08-01 19:22:18 +02:00
Danny Dudzic
932b86ad1c
Merge pull request #2477 from woocommerce/PCP-3492-static-meta-comment-in-html-source-when-fastlane-is-active
Static meta comment in HTML source when Fastlane is active (3492)
2024-08-01 19:22:04 +02:00
Daniel Dudzic
3488e6f6f3
AXO: Simplify the is_compatible_shipping_config() condition 2024-08-01 18:47:45 +02:00
Daniel Dudzic
eab4f64a46
AXO: Fix the conditions for rendering Fastlane when shipping config is incompatible 2024-08-01 18:44:31 +02:00
Daniel Dudzic
7526189e40
AXO: Refactor the debug script in order to remove logger calls when logging is disabled 2024-08-01 11:48:52 +02:00
Philipp Stracker
dc2dbaed92
Show Fastlane warning when DCC is disabled 2024-07-31 14:07:28 +02:00
Philipp Stracker
0e24db159f
Add feature-detection tag condition 2024-07-31 12:47:07 +02:00
Daniel Dudzic
be59960777
AXO: Temporarily hide the Fastlane payment method in the admin until the ACDC/Fastlane-sharing refactor is complete 2024-07-31 12:27:33 +02:00
Philipp Stracker
bfef725f6e
Site-wide HTML tag with AXO status 2024-07-31 11:49:10 +02:00
George Burduli
000cc8ed9e
Change Apple Pay and Google Pay default button labels to plain 2024-07-31 11:53:13 +04:00
George Burduli
592920b20b
Update ACDC signup URLs 2024-07-31 11:24:12 +04:00
Emili Castells
a152027772
Merge pull request #2471 from woocommerce/PCP-3494-tax-rate-id-and-tax-amount-visible-on-order-received-page-when-shipping-callback-is-enabled-and-payment-is-done-from-product-page-mini-cart-or-classic-cart-page
Do not add tax info into order meta during order creation
2024-07-30 17:07:21 +02:00
Emili Castells
9fbeaf56be
Merge pull request #2474 from woocommerce/PCP-3493-validation-on-classic-checkout-page-automatically-triggered-when-google-pay-is-enabled
Google Pay: Prevent field validation from being triggered on checkout page load (3493)
2024-07-30 17:06:44 +02:00
Emili Castells
4ac1f4e40c
Merge pull request #2468 from woocommerce/PCP-3488-add-apple-pay-google-pay-support-for-china
Add Apple Pay and Google Pay support for China, simplify country-currency matrix (3488)
2024-07-30 17:06:08 +02:00
Emili Castells
f3125156a9
Merge pull request #2469 from woocommerce/PCP-3453-add-amex-support-for-advanced-card-processing-in-china
Add AMEX support for Advanced Card Processing in China (3453)
2024-07-30 17:05:33 +02:00
Philipp Stracker
0888c696ff
Sync gateway visibility via custom event 2024-07-30 14:48:47 +02:00
Philipp Stracker
490cd1958b
♻️ Move config object to appropriate file 2024-07-30 13:51:16 +02:00
Philipp Stracker
ef6632c85f
Add new isEligible flag
The flag is set once Google’s PaymentClient responds to the isReadyToPay() request and controls the rendering of the button
2024-07-30 12:50:41 +02:00
Emili Castells Guasch
f3b4a317c8 Add free trial block checkout card support for guest users 2024-07-30 12:40:37 +02:00
Emili Castells Guasch
19fd6c806d Add free trial block checkout support for card payment 2024-07-30 11:37:03 +02:00
Daniel Dudzic
a301d901dd
Google Pay: Update the formValidator name 2024-07-30 10:31:44 +02:00
Daniel Dudzic
5ad73cf5f0
Google Pay: Prevent field validation from being triggered on checkout page load 2024-07-30 10:24:26 +02:00
Philipp Stracker
8286085f59
♻️ Apply latest JS structure from ApplePay Gateway
- Partially addresses the known display bug
- Simplifies maintainance between both gateways
- Reduces component-internal redundancies
2024-07-29 21:16:53 +02:00
Philipp Stracker
8814b1f636
💡 Improve/adjust debug logging 2024-07-29 18:30:03 +02:00
Philipp Stracker
1e5b6d5a21
Improve debug-logging for GooglePayButton events
Implement same logic as we use for the ApplePayButton
2024-07-29 18:08:59 +02:00