Commit graph

115 commits

Author SHA1 Message Date
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
Danny Dudzic
0e401e25af
Merge pull request #2424 from woocommerce/PCP-3156-fastlane-strip-empty-spaces-from-email-to-trigger-profile-lookup
AXO: Add whitespace stripping on submission (3156)
2024-08-01 23:09:29 +02:00
Daniel Dudzic
7526189e40
AXO: Refactor the debug script in order to remove logger calls when logging is disabled 2024-08-01 11:48:52 +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
Emili Castells
8dea9b3273
Merge pull request #2396 from woocommerce/next-version
Merge next-version into trunk
2024-07-09 14:54:49 +02:00
Emili Castells Guasch
4c05e7c2bd Merge branch 'trunk' into PCP-3170-add-es-lint-and-testing-library-for-js-code 2024-07-01 17:29:03 +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
Emili Castells Guasch
610db964f7 Add first test 2024-06-13 21:05:06 +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
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
Daniel Dudzic
7537967266
Final polish 2024-06-07 22:07:21 +02:00
Daniel Dudzic
457ac5a5cd
CSS clean up 2024-06-07 11:41:30 +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
66ba0ee8af
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3173-fastlane-hide-billing-data-in-ryan-flow 2024-05-28 18:37:28 +02:00
Daniel Dudzic
64dee95a76
AXO: Disable payment method selection during OTP interaction (3174) 2024-05-27 15:59:46 +02:00
Daniel Dudzic
65a74d12a5
Replace backticks with single quotes 2024-05-27 12:40:17 +02:00
Daniel Dudzic
5b8d9b3520
AXO: Remove Billing Details from the Ryan flow (3173) 2024-05-27 12:27:59 +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
Daniel Dudzic
8ff548c556
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3110-fastlane-improve-ryan-icon-display 2024-05-23 16:03:00 +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
97cd436efe
Change opacity of the overlay color 2024-05-23 10:51:27 +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
Daniel Dudzic
2f2dc5feeb
AXO: Fix Ryan flow credit card icons 2024-05-14 13:51:20 +02:00
Emili Castells Guasch
2bcdd77ba6 Add module path to load the card icons 2024-05-13 18:18:50 +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
8f29a3660e
Merge pull request #2214 from woocommerce/PCP-3089-add-new-icons-for-fastlane
Add new credit card icon files (3089)
2024-05-13 16:01:45 +02:00
Daniel Dudzic
fccde705d1
AXO: Update icons for the Ryan flow 2024-05-10 10:51:19 +02:00