Commit graph

77 commits

Author SHA1 Message Date
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
Daniel Dudzic
f673b3d496
Add enter key submission to AXO 2024-05-08 00:30:59 +02:00
Daniel Dudzic
94061bb2a5
AXO: Fix state mapping details for shipping details 2024-05-07 15:25:06 +02:00
Emili Castells Guasch
b43058f13e Fix wrong billing address admin areas values 2024-05-07 10:53:52 +02:00
Emili Castells Guasch
f2c6ff09af Add improvements 2024-05-07 09:55:48 +02:00
Emili Castells Guasch
117fbbef13 Ensure otp failed or cancelled render card fields with no consent toggle 2024-05-06 16:14:59 +02:00
Emili Castells Guasch
5a037b1c93 Hide terms and conditions checkbox before Fastlane authentication 2024-05-06 15:31:30 +02:00
Emili Castells Guasch
404095423b Ensure sending billing phone number if it exist in shipping address 2024-05-06 14:03:44 +02:00
Emili Castells Guasch
e886b0027c Do not set billing address and card if no billing address in profile data response 2024-05-06 12:49:41 +02:00
Emili Castells Guasch
2a20df9b6f Enable name on card and hide it from settings 2024-05-06 12:28:14 +02:00
Emili Castells Guasch
e26d8f8110 Remove focus on email field for now 2024-05-02 11:56:06 +02:00
Emili Castells Guasch
912e0af35a Remove additional info icon for ryan flow 2024-05-01 17:31:25 +02:00
Emili Castells Guasch
8a9dd52bd0 Add type of user as form data to be received on wc process payment request 2024-05-01 17:01:15 +02:00
Emili Castells Guasch
c80f58abcf Add setting option to enable/disable name on card field 2024-05-01 15:33:23 +02:00
Emili Castells Guasch
5615994128 Apply styles from settings 2024-05-01 14:54:59 +02:00