Commit graph

4316 commits

Author SHA1 Message Date
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
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
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
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
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
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 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
Philipp Stracker
10439ff02b
Add empty ApplePay gateway class 2024-07-22 13:30:20 +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
George Burduli
4f8dfb22e2
Don't declare ACDC subscriptions support when vaulting is disabled 2024-07-17 16:49:24 +04: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
Emili Castells Guasch
e70891d359 Add googlepay wc gateway 2024-07-16 14:17:12 +02:00
Daniel Dudzic
37ca92c57e
Fix the GooglePay button preview in the settings widget 2024-07-15 22:38:35 +02:00
Emili Castells Guasch
82f46baa16 Add button method for checkout context 2024-07-15 18:42:44 +02:00
Narek Zakarian
2f0b01ebcb
Fix the coding styles 2024-07-15 19:38:10 +04:00
Narek Zakarian
f643f9e1d7
Return the callback to fix the shipping options update process 2024-07-15 19:20:35 +04:00
Narek Zakarian
f9aa2b565d
Return the callback to fix the shipping options update process 2024-07-15 19:20:24 +04:00
Narek Zakarian
c5fd3a6cea
Use the WC STORE API endpoint constant and the home_url 2024-07-15 19:19:32 +04:00
Narek Zakarian
b5fa8972d0
Store the WC STORE API endpoint in constant 2024-07-15 19:18:51 +04:00
Emili Castells Guasch
473b286de0 Do not display googlepay button inside smart buttons in classic checkout if goolepay button is enabled 2024-07-15 16:13:12 +02:00
Emili Castells Guasch
f8ed3328a8 Dispaly googlepay payment method only if googlepay button is enabled 2024-07-15 15:56:35 +02:00