Commit graph

6607 commits

Author SHA1 Message Date
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
Emili Castells Guasch
c4232e3957 Add card payment for guest free trial (WIP) 2024-07-25 12:08:59 +02:00
George Burduli
40c81683d9
Add DHL DE plugin compatibility 2024-07-25 14:08:45 +04:00
Daniel Dudzic
8535601810
AXO: Add a notice informing about potentially conflicting plugins being active 2024-07-25 00:18:15 +02:00
Philipp Stracker
75f4a6f94a
🎨 Fully disable debug logic via WP_DEBUG 2024-07-24 20:47:59 +02:00
Philipp Stracker
b9b13d7b05
⚰️ Remove unnecessary styles again 2024-07-24 20:42:57 +02:00
Philipp Stracker
a4d3af848c
🩹 Hide gateway on PayNow page when ineligible 2024-07-24 20:13:30 +02:00
Philipp Stracker
354a9ff175
💡 Better debug logs for show/hide events 2024-07-24 20:13:14 +02:00
Philipp Stracker
cffaa7a92f
💄 Fix button size in stand-alone gateway 2024-07-24 20:03:23 +02:00
Philipp Stracker
f1c5b70877
Extract payment button to own gateway 2024-07-24 20:02:27 +02:00
Philipp Stracker
5df93b2dd4
💬 Improve the gateway description for admins 2024-07-24 19:42:37 +02:00
Philipp Stracker
4a0e410f52
🔧 Add missing config to eslintrc
- env.browser: Linter recognizes browser elements, like `HTMLElement`
- globals.jQuery: Library is present on all pages
2024-07-24 18:55:22 +02:00
Philipp Stracker
9f39a58f07
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-button/resources/js/modules/ContextBootstrap/CheckoutBootstap.js
#	modules/ppcp-button/resources/js/modules/Helper/CheckoutMethodState.js
2024-07-24 18:49:41 +02:00
Philipp Stracker
525b75e6a1
♻️ Entangle code into getters and atomic functions 2024-07-24 18:27:04 +02:00
Emili Castells Guasch
29e195e7f3 Ensure saved card payment use default payment flow for free trial subscriptions 2024-07-24 17:00:58 +02:00
Emili Castells Guasch
efbd36025d Add card payment token for free trial subscriptions (WIP) 2024-07-24 16:00:55 +02:00
Philipp Stracker
3bb0496123
Hide Apple Pay gateway on ineligible devices 2024-07-24 15:25:00 +02:00
Philipp Stracker
43d7e0788f
♻️ Chore: Minor code cleanup 2024-07-24 15:19:35 +02:00
Philipp Stracker
f75c3610d8
♻️ Chore: Slightly improve the debug-log output 2024-07-24 14:21:26 +02:00
Philipp Stracker
f4abf7028e
♻️ Chore: Make isInitialized flag private
Reason: The button instance is added to the global document scope, this helps to protect internal component state
2024-07-24 14:20:40 +02:00
Narek Zakarian
5d5dd761f8
Merge branch 'trunk' into PCP-3395-when-there-isnt-any-shipping-option-for-the-address-the-order-is-still-created-from-classic-cart 2024-07-24 16:04:32 +04:00
Narek Zakarian
4fc7883c28
Merge branch 'trunk' into PCP-3382-add-support-for-woo-commerce-bookings-when-skipping-checkout-confirmation
# Conflicts:
#	modules/ppcp-compat/services.php
#	modules/ppcp-compat/src/CompatModule.php
2024-07-24 15:19:32 +04:00
Daniel Dudzic
09ed0da25b
Merge branch 'PCP-3392-do-not-render-fastlane-when-shipping-destination-is-set-to-force-shipping-to-the-customer-billing-address' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3474-fastlane-create-notice-about-potentially-incompatible-plugins 2024-07-24 12:30:32 +02:00
Philipp Stracker
a473459ddb
♻️ Minor code cleanup and documentation 2024-07-23 17:42:24 +02:00
Philipp Stracker
eb216425fb
🚧 New Gateway for Apple Pay 2024-07-23 15:59:54 +02:00
Emili Castells Guasch
112b98875b Refactor save payment method js logic 2024-07-23 15:38:07 +02:00
Emili Castells
f52b01b275
Merge pull request #2404 from woocommerce/PCP-2803-disable-standard-card-buton-when-acdc-is-active
Prevent enabling Standard Card Button when ACDC is enabled (2803)
2024-07-23 14:48:13 +02:00
Emili Castells Guasch
cf8eaba0a3 Run autofix code style 2024-07-23 14:36:22 +02:00