Commit graph

6397 commits

Author SHA1 Message Date
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
Emili Castells Guasch
d0b8f4ccba Add test for card block free trial without saved payments 2024-07-29 16:28:22 +02:00
Philipp Stracker
8afa7e34dc
🐛 Prevent duplicate payment button instances 2024-07-29 16:20:47 +02:00
Emili Castells Guasch
5e5c99bc7d Ensure field container is empty before render card field 2024-07-29 15:56:45 +02:00
Emili Castells Guasch
8bda629df5 Move pw tests into multiple files 2024-07-29 14:20:27 +02:00
Narek Zakarian
a7c43ab0d1
Do not add tex info into order meta during order creation 2024-07-29 15:55:29 +04:00
Emili Castells Guasch
6f7270c35b Fix card fields rendered multiple times 2024-07-29 12:18:41 +02:00
George Burduli
06378c34c8
Add Amex support for ACDC China 2024-07-29 14:15:35 +04:00
George Burduli
5252888721
phpcs fix 2024-07-29 13:29:48 +04:00
George Burduli
883a5b15bc
Add China to ApplePay support, simplify country-currency matrix 2024-07-29 13:28:33 +04:00
George Burduli
a06c01ad1f
phpcs fix 2024-07-29 13:13:56 +04:00
George Burduli
548c0082eb
Add China to GPay support, simplify country-currency matrix 2024-07-29 13:11:54 +04:00
George Burduli
96f8c5ef97
Automatically delete PayPal Package 2024-07-29 12:02:37 +04:00
Emili Castells Guasch
6fbdb9417b Fix card add payment method test 2024-07-26 18:50:35 +02:00
Philipp Stracker
1ac9b460b6
🐛 Display the PayPal payment tabs in Gateway 2024-07-26 18:32:33 +02:00
Philipp Stracker
c15715a02f
♻️ More reliable eligibility-check
Eligibility better aligns with the ApplePay SDK logic and will not insert a hidden button anymore.
2024-07-26 17:28:30 +02:00
Philipp Stracker
09308f15b6
🐛 Hide Apple Pay button until gateway is selected 2024-07-26 17:20:48 +02:00
Philipp Stracker
cbf9bff808
🐛 Fix bug with undefined log() method 2024-07-26 17:06:42 +02:00
Narek Zakarian
b96c87597a
Do not consider needShipping from single page 2024-07-26 18:06:09 +04:00
Emili Castells Guasch
9f18f2e899 Refactor: extract logic to corresponding modules 2024-07-26 15:39:25 +02:00
George Burduli
2da1fa0323
Automatically update PayPal Package Tracking Status metabox 2024-07-26 16:20:08 +04:00
Philipp Stracker
a14276bf52
💚 CI: Fix all reported phpcs issues 2024-07-25 16:50:00 +02:00
Narek Zakarian
4a72743d0f
Merge branch 'trunk' into PCP-3384-shipping-method-visible-in-pay-pal-popup-for-zone-that-has-no-shipping-defined-when-shipping-callback-enabled 2024-07-25 18:30:38 +04:00
Philipp Stracker
64fae60da4
💚 CI: Undo a type-hint that causes CI failure
Our Stub object has a void return value; CI fails with this type-hint, as the Stub is not compatible with the actual object.
2024-07-25 15:48:35 +02:00