Commit graph

316 commits

Author SHA1 Message Date
Philipp Stracker
d672656513
🔥 Remove unused “use” statements 2025-02-17 18:26:05 +01:00
Emili Castells Guasch
daf5af2870 Add filter for fastlane gateway enabled, title and description 2025-02-06 11:49:48 +01:00
Philipp Stracker
90d2c77a5a
🚚 Extract Environment class to gateway module 2025-02-03 13:34:30 +01:00
Daniel Hüsken
0b48d9c227
avoid adding JS when fastlane is disabled 2024-12-13 13:04:41 +01:00
Daniel Hüsken
947f20a2a5
check if axo is enabled or not for buttons 2024-12-12 16:03:32 +01:00
Daniel Hüsken
d61561f913
add a filter to load the service later and only if it is needed. 2024-11-27 12:18:28 +01:00
Daniel Dudzic
55d98fdeb3
PHPCS fixes 2024-11-19 11:23:38 +01:00
Daniel Dudzic
d84f29a274
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3770-fastlane-implement-insights-sdk-for-block-checkout-ver2 2024-11-19 11:23:08 +01:00
Emili Castells
c7dfe3293b
Merge pull request #2704 from woocommerce/PCP-3783-fastlane-allow-merchants-to-disable-specific-card-types
Axo: Add support for card icons in the Block Checkout and add card type limiting for both block and classic checkouts (3783)
2024-11-19 10:32:19 +01:00
Daniel Dudzic
f79fb04846
Ensure the WC session exists before trying to access it 2024-11-18 20:01:00 +01:00
Emili Castells
594c9eb63b
Merge pull request #2745 from woocommerce/PCP-3615-acdc-not-visible-on-checkut-when-fastlane-enabled-and-subscription-product-in-cart
Load ACDC for Classic and Block checkouts for subscription products (3615)
2024-11-18 13:59:01 +01:00
Daniel Dudzic
216e805615
Fix the EndCheckoutTracker.js file name in the webpack config file 2024-11-15 20:00:33 +01:00
Daniel Dudzic
4fe7117fc9
Fix PHPCS errors 2024-11-13 10:50:35 +01:00
Daniel Dudzic
1dfcc13da4
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3770-fastlane-implement-insights-sdk-for-block-checkout-ver2 2024-11-13 00:17:20 +01:00
Daniel Dudzic
e25a773b0e
Fix PHPCS errors 2024-11-12 15:10:55 +01:00
Daniel Dudzic
f3c32dbe6c
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3783-fastlane-allow-merchants-to-disable-specific-card-types 2024-11-12 15:03:35 +01:00
Alex P.
b67265ac15
Update js deps 2024-11-04 17:15:27 +02:00
Daniel Dudzic
4a688fb351
Load ACDC for Classic and Block checkouts for subscription products 2024-10-30 22:25:39 +01:00
Emili Castells
a0518b8352
Merge pull request #2720 from woocommerce/PCP-3504-resolve-duplicate-css-id-place-order
Axo: Remove the submit button when Fastlane is disabled (3504)
2024-10-30 16:55:33 +01:00
Daniel Dudzic
1204edb1ca
Axo: Add PayPal Insights to the Block Checkout and fix the existing Classic Checkout integration 2024-10-29 11:04:41 +01:00
Daniel Dudzic
bf52b48ae8
Axo: Remove the submit button when Fastlane is disabled 2024-10-21 11:05:12 +02:00
Daniel Dudzic
763d4a6482
Fix Psalm errors 2024-10-18 10:44:02 +02:00
Daniel Dudzic
407f526064
Axo: Add support for shipping locations limiting 2024-10-17 23:56:03 +02:00
Daniel Dudzic
46f49574e7
Add PHPCS fixes 2024-10-16 14:26:08 +02:00
Daniel Dudzic
bbde7f7890
Axo: Add support for the card type limiting in the Fastlane classic checkout 2024-10-16 14:01:11 +02:00
Daniel Dudzic
42805c4fb5
Add support for card icons to Axo Block and move the Change Card Link handling to the store. Also migrate the Change Card Link markup management logic to React 2024-10-16 12:51:26 +02:00
Daniel Dudzic
733eee08a2
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3771-axo-refactor-pay-pal-script-loading-to-prevent-conflicts 2024-10-08 09:17:08 +02:00
Daniel Dudzic
e76c8b257b
Rename the new script loading script 2024-10-08 00:41:30 +02:00
Daniel Dudzic
07bedc4460
Add the UnifiedScriptLoader and usePayPalCommerceGateway hook 2024-10-07 10:42:56 +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
Daniel Dudzic
5e1c2a22d2
Introduce a unified script loader to improve script loading, debugging and prevent conflicts 2024-10-05 02:26:09 +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
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
Alex P.
f85df4718a
Retrieve shop currency later to avoid early caching in service 2024-10-03 10:10:50 +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
Philipp Stracker
ad6af26e6c
🔀 Merge branch 'trunk' 2024-10-01 13:41:51 +02: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
Daniel Dudzic
1032dff3f9
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3743-fastlane-render-watermark-on-right-side-of-email-field 2024-09-30 17:28:34 +02:00
Daniel Dudzic
653deeec7f
Move the watermark to the right side 2024-09-30 17:26:23 +02:00
Emili Castells Guasch
8293bb3d36 Update description 2024-09-30 16:41:54 +02:00
Emili Castells
b7a1e498d5
Merge pull request #2653 from woocommerce/fastlane-card-preview-ui-for-classic-checkout
Fastlane card preview UI for classic checkout
2024-09-30 16:20:07 +02:00
Emili Castells
2f4a76a4bb
Merge pull request #2652 from woocommerce/PCP-3716-fix-fastlane-classic-checkout-card-icons
Fastlane Classic Checkout card icons (3716)
2024-09-30 16:19:56 +02:00