Philipp Stracker
|
8c811d9f8e
|
🥅 Improve code stability and documentation
|
2024-08-07 15:45:28 +02:00 |
|
Philipp Stracker
|
7c8c9429e0
|
🐛 Fix Google Pay button on non-checkout pages
Reflect changes of PR #2495
|
2024-08-07 15:19:34 +02:00 |
|
Philipp Stracker
|
429568fbd9
|
🔥 Minor cleanup
|
2024-08-07 14:48:36 +02:00 |
|
Philipp Stracker
|
4b30449ddb
|
🩹 ConsoleLogger will always output error messages
|
2024-08-07 14:36:51 +02:00 |
|
Philipp Stracker
|
31867b17d6
|
🔀 Merge branch 'trunk'
# Conflicts:
# modules/ppcp-googlepay/resources/js/GooglepayButton.js
|
2024-08-07 14:30:12 +02:00 |
|
Emili Castells
|
3d5c15b343
|
Merge pull request #2492 from woocommerce/PCP-3517-apple-pay-shipping-callback-is-not-working
Apple Pay: Fix the shipping callback (3517)
|
2024-08-07 13:56:32 +02:00 |
|
Emili Castells
|
ff4cd0c9a4
|
Merge pull request #2491 from woocommerce/use-client-credentials-for-user-tokens
Use client credentials for user tokens (3518)
|
2024-08-07 13:55:32 +02:00 |
|
Emili Castells Guasch
|
939991c42f
|
Revert #2283
|
2024-08-07 12:47:11 +02:00 |
|
Emili Castells Guasch
|
7778cfafed
|
Revert #2283
|
2024-08-07 12:45:44 +02:00 |
|
Emili Castells Guasch
|
4f47b382c5
|
Add token expiration
|
2024-08-07 10:36:05 +02:00 |
|
Emili Castells Guasch
|
8411ef2106
|
Fix not returning the cached token
|
2024-08-07 09:51:12 +02:00 |
|
Philipp Stracker
|
fc805a4369
|
♻️ Move most of the display logic to base class
The PaymentButton base class now handles display logic that is shared between different APMs
|
2024-08-06 17:45:53 +02:00 |
|
Philipp Stracker
|
b85a16abda
|
♻️ Move button event dispatcher to helper file
|
2024-08-06 17:13:51 +02:00 |
|
Emili Castells Guasch
|
b42e9436ae
|
Add id token cache key for each user
|
2024-08-06 15:30:50 +02:00 |
|
Emili Castells Guasch
|
a1413782e9
|
Invalidate cache when switching user
|
2024-08-06 12:32:40 +02:00 |
|
Emili Castells Guasch
|
22c2b5afd4
|
Delete transients stored while user is logged in
|
2024-08-06 12:04:58 +02:00 |
|
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 |
|
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
|
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 |
|
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 |
|
Philipp Stracker
|
8afa7e34dc
|
🐛 Prevent duplicate payment button instances
|
2024-07-29 16:20:47 +02:00 |
|
Narek Zakarian
|
a7c43ab0d1
|
Do not add tex info into order meta during order creation
|
2024-07-29 15:55:29 +04: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 |
|
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 |
|
Emili Castells
|
8df5b56d8a
|
Merge pull request #2420 from woocommerce/PCP-2958-multiple-smart-buttons-on-the-product-page-when-using-variable-product-with-pay-pal-subscriptions-mode
Prevent displaying smart button multiple times on variable product page (2958)
|
2024-07-23 14:29:58 +02:00 |
|
Emili Castells
|
90eeecc75c
|
Merge pull request #2405 from woocommerce/PCP-3191-introduce-notice-for-paypal-payments-3-0-update-warning
Add notice when upgrading to plugin version >= 3.0.0 (3191)
|
2024-07-23 14:29:25 +02:00 |
|
Emili Castells
|
a608e6381a
|
Merge pull request #2449 from woocommerce/PCP-3253-possible-type-error-in-2-8-0
Do not override `settings` property from `AbstractPaymentMethodType` base class
|
2024-07-23 14:28:52 +02:00 |
|