Commit graph

4168 commits

Author SHA1 Message Date
Daniel Dudzic
e1bdc64248
Google Pay: Fix issuse with data.paymentSource being undefined and the shipping allowed boolean being hardcoded 2024-07-03 12:29:29 +02:00
Emili Castells
fb4f4cb753
Merge pull request #2360 from woocommerce/PCP-3289-could-not-retrieve-order-error-in-package-tracking-metabox-breaking-wc-order
Don't render tracking metaBox if can't retrieve PayPal order (3289)
2024-06-25 14:01:00 +02:00
Emili Castells Guasch
67074a6c9f Ensure subscriptions mode setting exist 2024-06-20 15:07:34 +02:00
Emili Castells Guasch
1d0d4d21ad Ensure subscriptions mode setting exist 2024-06-20 15:06:35 +02:00
Narek Zakarian
13b2f30edc
Improve docs 2024-06-19 20:23:51 +04:00
Narek Zakarian
5fbfba61c6
Fix the coding styles 2024-06-19 20:17:02 +04:00
Narek Zakarian
17030cae12
Don't render tracking metaBox if can't retrieve PayPal order 2024-06-19 20:02:31 +04:00
Emili Castells
ba77510e2e
Merge pull request #2346 from woocommerce/PCP-3181-place-order-button-not-visible-with-advanced-card-processing
Add filter for adding more contexts in can_render_dcc checker
2024-06-17 11:43:56 +02:00
Emili Castells
ac3b99d776
Merge pull request #2342 from woocommerce/PCP-3128-fastlane-gateway-appear-in-unfunctional-state-if-pay-pal-checkout-button-location-is-disabled
AXO: Disable Fastlane when ACDC is disabled (3128)
2024-06-17 09:31:31 +02:00
Emili Castells
f5803f1c99
Merge pull request #2325 from woocommerce/PCP-3179-apple-pay-google-pay-buttons-no-longer-visible-in-standard-payments-button-previews-after-moving-them-to-advanced-card-processing-tab
Apple Pay & Google Pay buttons no longer visible in Standard Payments button previews after moving them to Advanced Card Processing tab (3179)
2024-06-17 09:30:47 +02:00
Philipp Stracker
f759ca4573
🐛 Force-display the preview button after render()
Some tests indicate, that the `ppcp-hidden` and `ppcp-enabled` events are not always triggered on some sites. As the preview button is refreshed during those events, it would stay hidden on those sites.

Adding a delayed DOM show() call solves the issue in a slightly less-elegant way.
2024-06-14 19:19:55 +02:00
Emili Castells Guasch
f9bcc41c29 Add filter to add more contexts in can render dcc checker 2024-06-14 17:34:57 +02:00
Philipp Stracker
c0c4d8d514
🐛 Fix hidden preview buttons in Standard Payments
Addresses an issue when toggling the “Customize per location” checkbox multiple times.
2024-06-14 15:50:17 +02:00
Emili Castells
d8bba13716
Merge pull request #2320 from woocommerce/PCP-3215-only-restrict-duplicate-subscription-products-if-subscriptions-mode-active
Only prevent multiple subscription products in cart if PayPal Subscription API is active (3215)
2024-06-14 14:57:59 +02:00
Emili Castells
3e6be85bb3
Merge pull request #2308 from woocommerce/PCP-223-gateway-description-not-translatable-with-wpml
Add WPML compatibility to the settings (223)
2024-06-14 14:56:54 +02:00
Emili Castells
0f6e7154cf
Merge pull request #2283 from woocommerce/PCP-3171-several-issues-on-backwpup-com
id_token for guest users (3264)
2024-06-14 14:40:16 +02:00
Emili Castells
faac6cffae
Merge pull request #2335 from woocommerce/PCP-3252-fastlane-hide-debug-console-output-unless-wp-debug-is-active
AXO: Disable logging when WP_DEBUG is set to false (3252)
2024-06-14 14:36:48 +02:00
Emili Castells Guasch
39b6f8a1aa Merge branch 'trunk' into PCP-3171-several-issues-on-backwpup-com 2024-06-14 12:43:15 +02:00
Daniel Dudzic
4b5aeaab71
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3128-fastlane-gateway-appear-in-unfunctional-state-if-pay-pal-checkout-button-location-is-disabled 2024-06-14 11:41:24 +02:00
Daniel Dudzic
ce2d18a518
AXO: Disable Fastlane when ACDC is disabled 2024-06-13 18:52:04 +02:00
Philipp Stracker
e748ef74ba
🩹 Fix incorrect usage of #-prefix
Only properties can be declared as private using `#`. For functions, this is not supported yet, using the private-prefix here is unreliable.
2024-06-13 14:03:21 +02:00
Philipp Stracker
f5e67c4810
🐛 Refresh all preview buttons on the screen
When multiple preview-button-blocks for the same button were present on the page, not all of them did update the button.
2024-06-13 14:01:47 +02:00
Philipp Stracker
238adedcad
🐛 Fix the condition to inject the settings JS
Switched to using an existing DI service to determine if the current page requires the “gateway-settings” asset files.
2024-06-13 11:35:05 +02:00
Daniel Dudzic
474759d161
Fix PHPCS errors 2024-06-13 11:27:05 +02:00
Daniel Dudzic
ef0adeb2dc
AXO: Disable Fastlane on Order Pay endpoint 2024-06-13 11:16:38 +02:00
Daniel Dudzic
8f99aa5f9e
Hide PayPal Insights when WP Debug is set to false. Also allow logging when WP Debug is set to false. 2024-06-12 22:30:33 +02:00
Daniel Dudzic
b4e35e2959
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3252-fastlane-hide-debug-console-output-unless-wp-debug-is-active 2024-06-12 18:40:33 +02:00
Philipp Stracker
c23129cb91
🐛 Render preview when enabling the button
Before this, the “is enabled” checkbox was not observed; enabling it did not cause a preview button to render, and required changing any other form field that was linked to the button

Also start to extract some logic to a new helper file.
2024-06-12 18:12:07 +02:00
Philipp Stracker
6ee4a40e18
🎨 Remove unnecessary condition 2024-06-12 15:47:31 +02:00
Philipp Stracker
f3f6765ac3
🐛 Hide disabled APM buttons in Standard Payments 2024-06-12 15:45:54 +02:00
Philipp Stracker
874ebbc7a0
🎨 Minor: Apply WP Code Style
- Consistent quote-style
- Insert missing semicolons in JS
- Fix some whitespaces
2024-06-12 15:31:33 +02:00
Philipp Stracker
bc57fdcd6a
🦺 Add new console error to help us debug issues
This new console error should help us identify cache-related issues faster
2024-06-12 11:31:16 +02:00
Philipp Stracker
cea292684b
🎨 Minor code structure changes 2024-06-12 11:27:59 +02:00
Emili Castells
c161d03e7b
Merge pull request #2326 from woocommerce/PCP-3208-fastlane-add-call-to-action-for-unauthenticated-user
AXO: Add a Continue button next to the email input (3208)
2024-06-12 09:47:50 +02:00
Daniel Dudzic
0529be62d1
Fix PHPCS errors 2024-06-12 09:23:57 +02:00
Daniel Dudzic
78ad22f783
Fix the CI error with WP_DEBUG not being defined 2024-06-12 09:14:34 +02:00
Daniel Dudzic
ff2d4ba871
Fix CI error 2024-06-12 09:07:09 +02:00
Daniel Dudzic
8a30af9945
Add additional validation 2024-06-11 17:44:01 +02:00
Philipp Stracker
aa9c02a786
♻️ Improve SDK loading in PreviewButtonManager 2024-06-11 15:58:43 +02:00
Philipp Stracker
1f5caac2f1
🔀 Merge branch 'trunk' 2024-06-11 15:24:15 +02:00
Philipp Stracker
06100437ed
🔀 Merge branch 'trunk' 2024-06-11 15:23:22 +02:00
Philipp Stracker
c75d9ce56f
🐛 Improve error logging and dependency detection 2024-06-11 15:23:06 +02:00
Emili Castells Guasch
73bc86f9f5 Merge trunk 2024-06-11 10:52:10 +02:00
Emili Castells
c5056987f6
Merge pull request #2316 from woocommerce/PCP-3190-prevent-w-3-total-cache-plugin-from-caching-minifying-scripts
Add Litespeed Cache and W3 Total Cache compatibility (3190)
2024-06-11 10:47:42 +02:00
Philipp Stracker
cdc98159b8
🔥 Remove unused import 2024-06-10 16:12:53 +02:00
Philipp Stracker
4242a1fd90
🔥 Remove unused yarn package 2024-06-10 14:17:25 +02:00
Daniel Dudzic
d82a9bca29
Fix PHPCS error 2024-06-10 11:41:57 +02:00
Daniel Dudzic
4c4c1a648e
Add AUD, CAD, EUR, GBP, and JPY as supported Fastlane currencies (3239) 2024-06-10 11:29:08 +02:00
Daniel Dudzic
7537967266
Final polish 2024-06-07 22:07:21 +02:00
Philipp Stracker
3d26c525e1
🔥 Remove old preview button code comment 2024-06-07 21:18:55 +02:00