Commit graph

6107 commits

Author SHA1 Message Date
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
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
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
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
Emili Castells
62c6ef4b14
Merge pull request #2406 from woocommerce/PCP-3304-rebrand-to-syde
Update contributor account inpsyde => syde (3304)
2024-07-23 14:28:19 +02:00
Emili Castells
a3bd284817
Merge pull request #2402 from woocommerce/PCP-3342-shipping-callback-compatibility-problem-with-name-your-price-plugin
Shipping callback compatibility with WC Name Your Price plugin
2024-07-23 14:27:51 +02:00
Narek Zakarian
d20b1b982f
Merge branch 'trunk' into PCP-3342-shipping-callback-compatibility-problem-with-name-your-price-plugin
# Conflicts:
#	modules/ppcp-button/src/Helper/WooCommerceOrderCreator.php
2024-07-23 16:15:20 +04:00
Emili Castells
f59b9532d5
Merge pull request #2431 from woocommerce/PCP-3394-the-taxes-are-included-incorrectly-for-programmatically-created-orders
Add tax configurator when programmatically creating WC orders (3394)
2024-07-23 12:57:32 +02:00
Emili Castells
2e44e11dbe
Merge pull request #2414 from woocommerce/PCP-2645-when-selecting-google-pay-as-a-payment-option-in-safari-a-developer-error-is-displayed
Google Pay: Fix the incorrect popup triggering (2645)
2024-07-23 12:57:00 +02:00
Emili Castells
b069705b0a
Merge pull request #2411 from woocommerce/PCP-3341-pay-pal-js-files-loaded-on-non-pay-pal-pages
PayPal js files loaded on non PayPal pages (3341)
2024-07-23 12:56:25 +02:00
Emili Castells
dc68a4dfde
Merge pull request #2425 from woocommerce/PCP-3378-pay-pal-declares-subscription-support-when-for-subscription-mode-is-set-disable-pay-pal-for-subscription
PayPal declares subscription support when for Subscription mode is set Disable PayPal for subscription (3378)
2024-07-23 12:55:49 +02:00
Emili Castells
555be59caf
Merge pull request #2430 from woocommerce/PCP-3320-separate-google-pay-button-for-classic-checkout
Separate Google Pay button for Classic Checkout (3320)
2024-07-23 12:55:15 +02:00
Wesley Rosa
055de3d644 Merge remote-tracking branch 'origin/release/2.8.2' into trunk 2024-07-22 17:32:57 -03:00
Wesley Rosa
ffefce57b1 woorelease: Product version bump update 2024-07-22 17:09:21 -03:00
Emili Castells Guasch
3f02d8326a Do not override settings base class property 2024-07-22 16:25:35 +02:00
Emili Castells Guasch
467960f5a2 Revert webhook handling for now so psalm does not complain 2024-07-22 14:49:01 +02:00
Emili Castells Guasch
93506fe5b7 Revert webhook handling for now so psalm does not complain 2024-07-22 14:42:03 +02:00
Emili Castells Guasch
2249ebd811 Show settings tabs in googlepay gateway settings page 2024-07-22 14:35:11 +02:00
Emili Castells Guasch
86e0007ae6 Add gateway icon, title and description 2024-07-22 12:53:41 +02:00
Emili Castells Guasch
e592bbb47b Do not provide support for wc susbcriotions for now 2024-07-22 12:10:34 +02:00
Emili Castells Guasch
9b0bb2c8b4 Do not provide support for wc susbcriotions for now 2024-07-22 11:52:04 +02:00
Narek Zakarian
8f4fa3562b
Add tax configurator 2024-07-17 19:15:19 +04:00
Emili Castells Guasch
e547d7e097 Show button in PayPal gateway if Google Pay gateway is disabled 2024-07-17 16:39:53 +02:00
Emili Castells Guasch
39ffbaa6e7 Add googlepay and apm css classes to button wrapper 2024-07-17 15:23:10 +02:00
Emili Castells Guasch
40805c1a13 Add googlepay button to pay for order page 2024-07-17 15:16:58 +02:00
Emili Castells Guasch
34cbd05349 Merge branch 'trunk' into PCP-3320-separate-google-pay-button-for-classic-checkout 2024-07-17 14:55:25 +02:00
George Burduli
4f8dfb22e2
Don't declare ACDC subscriptions support when vaulting is disabled 2024-07-17 16:49:24 +04:00
Emili Castells
8b5165ddfc
Merge pull request #2428 from woocommerce/release/2.8.2-rc1
Release 2.8.2-rc1
2024-07-17 14:28:06 +02:00
Emili Castells Guasch
7559c5a2ac Bump 2.8.2-rc1 version 2024-07-17 12:40:44 +02:00
Daniel Dudzic
f66e6aff99
Google Pay: Fix the context being stuck on mini-cart 2024-07-17 12:36:44 +02:00
Emili Castells Guasch
49064da0c8 Run eslint autofix 2024-07-17 11:08:49 +02:00
George Burduli
6d927ead36
Fix condition 2024-07-17 12:58:01 +04:00
George Burduli
3c23382c03
Don't declare Automatic Recurring Payments support when PayPal subscriptions mode is disabled 2024-07-17 12:53:11 +04:00
Emili Castells Guasch
db4787a360 Remove temp leftovers 2024-07-16 17:57:33 +02:00
Emili Castells Guasch
335f680344 Extract logic from gateway to modules 2024-07-16 17:51:02 +02:00
Emili Castells Guasch
74f319dd82 Merge branch 'trunk' into PCP-3320-separate-google-pay-button-for-classic-checkout 2024-07-16 17:22:10 +02:00
Emili Castells Guasch
c941430b7d Show googlepay button conditionally 2024-07-16 16:45:32 +02:00
Emili Castells Guasch
895cd5c4c1 Return payment method if it exist 2024-07-16 16:00:11 +02:00