Commit graph

4988 commits

Author SHA1 Message Date
Philipp Stracker
d1bb877553
🚧 Update the constructor 2024-10-07 11:00:39 +02:00
Philipp Stracker
eef4c80a48
🚧 Remove unused methods 2024-10-07 10:58:53 +02:00
Philipp Stracker
096aa4fc53
🚧 Extend class from PaymentButton base 2024-10-07 10:48:04 +02:00
Daniel Dudzic
07bedc4460
Add the UnifiedScriptLoader and usePayPalCommerceGateway hook 2024-10-07 10:42:56 +02:00
Emili Castells
e9ef82a4da
Merge pull request #2663 from woocommerce/PCP-3752-fastlane-modal-info-message-overflow-in-the-block-checkout
Axo Block: Fix the Fastlane modal info message text overflow issue (3752)
2024-10-07 10:42:17 +02:00
Emili Castells
8f13457181
Merge pull request #2662 from woocommerce/PCP-3740-fastlane-update-fastlane-block-checkout-description-in-editor
Axo: Remove Axo from the Checkout block in the editor and add an ACDC card preview (3740)
2024-10-07 10:40:32 +02:00
Emili Castells
3be4456bb0
Merge pull request #2665 from woocommerce/PCP-3541-sync-woo-with-axo-shipping
Fastlane update shipping options & taxes when changing address (3541)
2024-10-07 10:39:05 +02:00
Emili Castells
85660ab5a1
Merge pull request #2577 from woocommerce/PCP-3534-guest-email
Set email when creating order for express payment
2024-10-07 10:37:31 +02:00
Daniel Dudzic
5e1c2a22d2
Introduce a unified script loader to improve script loading, debugging and prevent conflicts 2024-10-05 02:26:09 +02:00
Philipp Stracker
3430ccc01a
🐛 Removed deprecated CSS rule
The correct CSS that is expected and handled by the JS integration is generated by PHP in the class method `ApplePayButton::hide_gateway_until_eligible()`
2024-10-04 16:14:46 +02:00
Emili Castells
1325779582
Merge pull request #2651 from woocommerce/PCP-3736-translations-no-longer-applied-to-card-fields-in-2-9-0
Add Custom Placeholder Handling when rendering the card fields (3736)
2024-10-04 15:16:27 +02:00
Emili Castells
b4b574db99
Merge pull request #2636 from woocommerce/PCP-3696-google-pay-has-no-amount
Fix the "0.00" amount in Google Pay for virtual products (3696)
2024-10-04 15:15:30 +02:00
Emili Castells Guasch
6d52f39ad0 Fix psalm 2024-10-04 14:56:15 +02:00
Emili Castells Guasch
22ba368ba1 Cache id token response for 5 seconds 2024-10-04 12:58:16 +02:00
Danny Dudzic
1ca98a10bc
Merge pull request #2668 from woocommerce/PCP-3765-add-code-comments-to-the-axo-block-module
Axo Block: Improve code comments and fix minor misc bugs (3765)
2024-10-03 15:50:05 +02:00
Daniel Dudzic
05ea2f1e10
Axo Block: Improve the comment regarding class names 2024-10-03 14:33:54 +02:00
Emili Castells
14b231ae1e
Merge pull request #2661 from woocommerce/PCP-3665-fix-gpay-preview
Fix Google Pay preview config and style
2024-10-03 14:33:01 +02:00
Daniel Dudzic
2436ceb487
Axo Block: Improve code comments and fix minor misc bugs 2024-10-03 14:09:12 +02:00
Emili Castells
634b3707ee
Merge pull request #2667 from woocommerce/PCP-3744-fix-multicurrency
Fix multi-currency support
2024-10-03 12:40:35 +02:00
Emili Castells
f6646e23b3
Merge pull request #2643 from woocommerce/PCP-3695-apple-pay-button-broken-on-product-page
Unsuccessfully payment from product page with Apple Pay button (3695)
2024-10-03 10:44:38 +02:00
Emili Castells
9f7c6f5284
Merge pull request #2618 from woocommerce/PCP-3688-button-unlinking-pay-pal-subscriptions-plan-does-not-showing-for-simple-subscription
Button Unlinking PayPal Subscriptions plan does not showing for simple subscription (3688)
2024-10-03 10:44:08 +02:00
Emili Castells
a3ec172b05
Merge pull request #2639 from woocommerce/PCP-3687-missing-logo-on-block-checkout-page-for-apm-s-my-bank-blik-and-trustly
Use the PayPal icons instead of WC ones (3687)
2024-10-03 10:43:40 +02:00
Emili Castells
407eff51f1
Merge pull request #2631 from woocommerce/PCP-3661-improve-context-detection-in-ajax
Improve context detection
2024-10-03 10:43:13 +02:00
Emili Castells
9550c792f6
Merge pull request #2581 from woocommerce/PCP-3645-fix-disabling-acdc-vaulting
Declare tokenization for ACDC only when vaulting enabled (3645)
2024-10-03 10:41:58 +02:00
Emili Castells
e8917a9485
Merge pull request #2573 from woocommerce/PCP-3617-check-id-type
Check that get_the_ID is valid before using
2024-10-03 10:40:37 +02:00
Emili Castells
859f99b4ca
Merge pull request #2608 from woocommerce/PCP-3523-fix-shortcode-check
Fix classic shortcode block type checks
2024-10-03 10:40:07 +02:00
Emili Castells
8592213b9a
Merge pull request #2464 from woocommerce/PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
Fix the Google Pay button in the block Checkout in the editor (3374)
2024-10-03 10:39:01 +02:00
Emili Castells
3983721b2a
Merge pull request #2447 from woocommerce/PCP-3348-extend-advanced-card-processing-country-eligibility-for-hong-kong-singapore
Extend supported ACDC countries and currencies to HK and SG (3348)
2024-10-03 10:38:18 +02:00
Emili Castells
6b7001fdf7
Merge pull request #2580 from woocommerce/PCP-3310-fix-pui-editor
Fix PUI error in editor
2024-10-03 10:37:39 +02:00
Alex P.
5f0c59cd8d
Fix lint 2024-10-03 10:12:17 +03:00
Alex P.
f85df4718a
Retrieve shop currency later to avoid early caching in service 2024-10-03 10:10:50 +03:00
Alex P.
b3d457d64a
Remove unused 2024-10-03 10:00:10 +03:00
Alex P.
ff18fa7b7f
Fix lint 2024-10-02 17:41:54 +03:00
Philipp Stracker
41e69fe556
🐛 Refresh cart when exiting Ryan flow
After restoring the original WooCommerce form, also trigger a cart refresh Ajax call
2024-10-01 18:16:15 +02:00
Philipp Stracker
d8d87ce1b8
🐛 Prevent infinite loop for invalid state values 2024-10-01 17:29:28 +02:00
Philipp Stracker
a897557f4f
🐛 Fix duplicate AXO check on initial load 2024-10-01 16:28:04 +02:00
Philipp Stracker
09e7c3670a
♻️ Small cleanup 2024-10-01 16:27:21 +02:00
Philipp Stracker
1e645a64e2
Sync Fastlane data with Woo cart
Main change of this branch. Tell WooCommerce about the shipping address used by Fastlane, so taxes and shipping options are correct
2024-10-01 16:20:37 +02:00
Philipp Stracker
9e03c503ac
♻️ Extract common logic into a class-method 2024-10-01 16:16:53 +02:00
Daniel Dudzic
c153401608
Fix PHPCS formatting issues 2024-10-01 15:57:20 +02:00
Daniel Dudzic
7dc3113be0
Axo Block: Fix the Fastlane modal info message text overflow issue 2024-10-01 15:48:27 +02:00
Daniel Dudzic
763f6a431e
Remove Axo from the Checkout block in the editor and add the ACDC card component in the editor view 2024-10-01 15:03:38 +02:00
Philipp Stracker
ad6af26e6c
🔀 Merge branch 'trunk' 2024-10-01 13:41:51 +02:00
Emili Castells Guasch
e32fb4d647 Merge branch 'trunk' into PCP-3523-fix-shortcode-check 2024-10-01 12:10:28 +02:00
Alex P.
c794ad20e9
Fix Google Pay preview config and style 2024-10-01 09:16:39 +03:00
Alex P.
f3bac3c51f
Remove unused class 2024-10-01 09:15:16 +03:00
Philipp Stracker
0abb2e0f8d
Store & restore the Woo form as needed
When Ryan flow starts, the values of the Woo-form are saved in an internal Map, and restored once the Ryan flow is disabled again (change email or select other payment gateway)
2024-09-30 18:59:22 +02:00
Philipp Stracker
89fa0f1fa7
New utility function to loop all group-fields 2024-09-30 18:57:00 +02:00
Philipp Stracker
8b0e12c06d
♻️ Minor code cleanup
- Define class properties
- Change visibility of properties
- Add some comments
2024-09-30 18:50:25 +02:00
Daniel Dudzic
360082a789
Remove fixed container background color 2024-09-30 17:48:53 +02:00