Commit graph

91 commits

Author SHA1 Message Date
Daniel Dudzic
3a20cb433a
Add Fastlane session restoring post payment failure (Classic Checkout)
Some checks failed
CI / PHP 7.4 (push) Has been cancelled
CI / PHP 8.0 (push) Has been cancelled
CI / PHP 8.1 (push) Has been cancelled
CI / PHP 8.2 (push) Has been cancelled
CI / PHP 8.3 (push) Has been cancelled
CI / PHP 8.4 (push) Has been cancelled
2025-08-15 02:17:59 +02: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
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
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
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
407f526064
Axo: Add support for shipping locations limiting 2024-10-17 23:56:03 +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
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
5e1c2a22d2
Introduce a unified script loader to improve script loading, debugging and prevent conflicts 2024-10-05 02:26:09 +02:00
Philipp Stracker
a897557f4f
🐛 Fix duplicate AXO check on initial load 2024-10-01 16:28:04 +02:00
Daniel Dudzic
653deeec7f
Move the watermark to the right side 2024-09-30 17:26:23 +02:00
Philipp Stracker
fbcc19ef4d
♻️ New getter for form-selector
To avoid typos and better document usage.
2024-09-11 18:55:03 +02:00
Philipp Stracker
6e1a6280de
🐛 Quick-fix to re-render missing Card component
Fix the clean-up process during email change, to generate a fresh Card component when needed.
2024-09-11 18:51:34 +02:00
Philipp Stracker
ad2181fd09
Add logic to update prefill-values 2024-09-04 15:11:46 +02:00
Philipp Stracker
5e08e415f0
♻️ Consolidate logic to initialize Fastlane UI 2024-09-04 15:11:03 +02:00
Philipp Stracker
c72c97f821
♻️ Rename a function 2024-09-04 15:06:50 +02:00
Philipp Stracker
9910164044
️ Only re-render the component when phone changed 2024-09-03 14:07:52 +02:00
Philipp Stracker
ed98033d10
💬 Minor changes in comment & variable name 2024-09-03 13:21:25 +02:00
Philipp Stracker
1398c4ac97
🐛 Refactor code to address some edge cases
When user selects a different gateway, enters a phone number, and then switches back to Fastlane: The existing phone number is correctly synced to Fastlane on initial component render.
2024-09-03 13:16:43 +02:00
Philipp Stracker
a4c2569a87
Sanitize number, only sync valid US numbers
Invalid phone numbers do not trigger a Fastlane refresh
2024-09-02 18:27:29 +02:00
Philipp Stracker
b0359c9de8
♻️ Minor code cleanup
- Define all properties on class level (instead of implicit declaration in constructor)
- Use the new `isRyanFlow` check
- Use the new `this.refreshFastlaneComponent()` method
2024-09-02 16:42:04 +02:00
Philipp Stracker
901774b8cc
Add phone-observer for Gary
Push the phone number from the Woo checkout form to the Fastlane component.
2024-09-02 16:40:14 +02:00
Daniel Dudzic
ce5214970c
AXO: Add whitespace stripping on submission 2024-07-16 14:33:03 +02:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Daniel Dudzic
b05c59c59e
AXO: Add col-1 class to fix layout on the Twenty Twenty-Four theme 2024-06-17 14:47:03 +02:00
Daniel Dudzic
8a30af9945
Add additional validation 2024-06-11 17:44:01 +02:00
Daniel Dudzic
7537967266
Final polish 2024-06-07 22:07:21 +02:00
Daniel Dudzic
0a06a913e7
Refactor the code 2024-06-07 00:35:55 +02:00
Daniel Dudzic
0ba33e9bb8
Adding the spinner and overlay on top of the submit button 2024-06-06 16:08:30 +02:00
Daniel Dudzic
38fc9906b7
First attempt: Add a continue button next to the email input 2024-06-06 01:16:52 +02:00
Emili Castells Guasch
b3ffa1030d Fix stringify objects 2024-05-29 15:21:21 +02:00
Emili Castells Guasch
1524d03ba2 Consolidate logging 2024-05-29 14:53:58 +02:00
Emili Castells Guasch
4c9ccebd10 Merge branch 'fastlane' into PCP-3172-fastlane-send-js-logs-to-woo-commerce-logger 2024-05-29 12:55:06 +02:00
Daniel Dudzic
64dee95a76
AXO: Disable payment method selection during OTP interaction (3174) 2024-05-27 15:59:46 +02:00
Emili Castells Guasch
cb190796ed Add error logs 2024-05-27 12:21:38 +02:00
Emili Castells Guasch
f6d07d9225 Adding frontend logger (WIP) 2024-05-24 17:13:43 +02:00
Emili Castells
6ec1673bd1
Merge pull request #2257 from woocommerce/PCP-3168-fastlane-billing-fields-appear-when-fastlane-user-authenticated-in-ryan-flow
Fix the two AXO bugs: Billing details missing and select another... (3168)
2024-05-24 16:12:58 +02:00
Emili Castells Guasch
be9de35175 Rename name to cardholderName 2024-05-24 11:38:48 +02:00
Daniel Dudzic
da3fb6d8d6
Fix the two AXO bugs: Billing details missing and select another payment gateway missing 2024-05-24 09:38:40 +02:00
Emili Castells
f8e156675d
Merge pull request #2244 from woocommerce/PCP-3061-fastlane-must-clear-all-pay-pal-test-scenarios
AXO: Fix the Has Profile/No CC scenario
2024-05-23 15:44:40 +02:00
Emili Castells
2a3559b536
Merge pull request #2245 from woocommerce/PCP-3132-fastlane-other-payment-method-not-hidden-in-ryan-flow-with-some-themes
AXO: Fix hiding/showing of the alternative payment gatways (3132)
2024-05-23 15:43:55 +02:00
Daniel Dudzic
8ee4a524bb
First attempt to optimize the checkout loading of the Fastlane experience to make it nice and smooth 2024-05-23 01:30:20 +02:00
Daniel Dudzic
e566e376b9
AXO: Fix hiding/showing of the alternative payment gatways with Twenty Twenty-Four theme 2024-05-20 17:03:35 +02:00
Daniel Dudzic
7a35792095
AXO: Fix the Has Profile/No CC scenario 2024-05-20 16:17:55 +02:00
Emili Castells
5c5a11b4c3
Merge pull request #2221 from woocommerce/PCP-3090-fastlane-show-name-on-card-setting-in-options
Fastlane show Name on Card setting in options (3090)
2024-05-13 17:43:27 +02:00
Emili Castells Guasch
5b5654d371 Rename .hidden class to avoid overrides from external code 2024-05-13 16:32:10 +02:00
Emili Castells Guasch
a8e8643d3d Re-enable name on card 2024-05-13 16:23:17 +02:00
Emili Castells Guasch
39cf0c99fc Ensure empty data scenarios 2024-05-09 16:14:37 +02:00
Emili Castells Guasch
d647a1b2cb Merge branch 'PCP-3061-fastlane-must-clear-all-pay-pal-test-scenarios' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3061-fastlane-must-clear-all-pay-pal-test-scenarios 2024-05-09 10:46:25 +02:00
Emili Castells Guasch
7372dae068 Merge branch 'trunk' into PCP-3061-fastlane-must-clear-all-pay-pal-test-scenarios 2024-05-09 10:46:06 +02:00