Commit graph

4973 commits

Author SHA1 Message Date
Philipp Stracker
0cdfe13102
Enforce Fastlane to be the first payment method 2024-09-12 16:38:27 +02:00
Philipp Stracker
9a132fc050
🔀 Merge branch 'PCP-3662’ 2024-09-12 16:22:02 +02:00
Philipp Stracker
a0d0a06dfd
💡 Remove dev-comments, clean up 2024-09-12 15:44:35 +02:00
Philipp Stracker
db6b860b5f
Integrate Gary flow in AXO block checkout 2024-09-12 15:44:29 +02:00
Philipp Stracker
389860c739
♻️ Re-organize payment-setup-integration
Performance update, and preparation for Gary-flow changes
2024-09-12 15:44:23 +02:00
Philipp Stracker
7e707d5aa1
Add dependencies for Gary checkout
# Conflicts:
#	modules/ppcp-axo-block/resources/js/index.js
2024-09-12 15:44:12 +02:00
Philipp Stracker
e9a3c0bb6d
New hook to return AXO billing details 2024-09-12 15:21:12 +02:00
Philipp Stracker
9234a833dd
Submit axo_nonce 2024-09-12 15:21:06 +02:00
Philipp Stracker
07d9ec5f88
🚧 Document bug with block checkout 2024-09-12 15:20:51 +02:00
Philipp Stracker
9564fd8d56
🎨 Apply phpcs rules, minor cleanup 2024-09-12 15:14:42 +02:00
Philipp Stracker
a4231ab77c
Support PayPalApiExceptions in error logging 2024-09-12 15:14:38 +02:00
Philipp Stracker
d41b967e90
♻️ Reuse existing error handling logic 2024-09-12 15:14:33 +02:00
Philipp Stracker
c011e05ed8
♻️ Extract order-creation to own method 2024-09-12 15:14:29 +02:00
Philipp Stracker
9c86bc23e1
♻️ Move code into try-catch block 2024-09-12 15:14:25 +02:00
Philipp Stracker
a3d4a3e04f
🥅 Add generic error handling 2024-09-12 15:14:19 +02:00
Philipp Stracker
02701ca0f5
Add ProcessPaymentTrait to AxoGateway
We’ll use this Trait later for error handling; the trait requires the SessionHandler instance.
2024-09-12 15:14:12 +02:00
Daniel Dudzic
f470fb0c53
Rename the useAxoBlockManager hook to useFastlaneSdk 2024-09-12 14:37:22 +02:00
Daniel Dudzic
fb0e0939a2
Move EmailSubmitButton to a separate file 2024-09-12 14:31:10 +02:00
Daniel Dudzic
26fe36951c
Split the useUserInfoChange to separate hooks useCardChange and useShippingAddressChange 2024-09-12 13:53:35 +02:00
Narek Zakarian
a280c1b0f4
Remove leftover console.log 2024-09-12 14:47:34 +04:00
Narek Zakarian
2722c3f326
Fix the coding styles 2024-09-12 14:23:42 +04:00
Daniel Dudzic
26668f7de7
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3380-prepare-fastlane-integration-on-block-checkout 2024-09-11 23:04:44 +02:00
Daniel Dudzic
eafbf3ca30
Merge branch 'PCP-3380-prepare-fastlane-integration-on-block-checkout' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3380-prepare-fastlane-integration-on-block-checkout 2024-09-11 23:01:45 +02:00
Daniel Dudzic
09428e9a37
Remove redundant Address Card component 2024-09-11 22:59:32 +02:00
Daniel Dudzic
24a481bdeb
Add Billing Details updating when a new card gets selected 2024-09-11 22:58:13 +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
Narek Zakarian
09b6e09df4
Remove the leftover check 2024-09-11 20:31:19 +04:00
Narek Zakarian
216654418c
Fix the dockblock 2024-09-11 20:29:36 +04:00
Narek Zakarian
137a8b4975
Early return instead of complicating the task 2024-09-11 20:28:31 +04:00
Narek Zakarian
42a6cb2b45
Continue instead of exit 2024-09-11 20:23:09 +04:00
Narek Zakarian
15a8a0d9d0
Add condition to check if pay later task should be enabled 2024-09-11 20:18:46 +04:00
Niklas Gutberlet
4f35259461
Merge pull request #2578 from woocommerce/PCP-3670-fix-report-shipping-callback
Fix shipping callback condition in status report
2024-09-11 17:59:54 +02:00
Narek Zakarian
12d17a7990
Register the tasks 2024-09-11 19:20:19 +04:00
Narek Zakarian
4c8de1dafe
Add the services and configs 2024-09-11 19:20:04 +04:00
Narek Zakarian
eb893704ad
Create the task registrar 2024-09-11 19:19:51 +04:00
Narek Zakarian
dd21647561
Create the factory for simple redirect task creation 2024-09-11 19:19:38 +04:00
Narek Zakarian
ea9ecbeb23
Create the simple redirect task 2024-09-11 19:19:15 +04:00
Niklas Gutberlet
43e9d4c85f
Merge pull request #2554 from woocommerce/PCP-3562-fastlane-prefill-phone-number-inside-card-field-components
Fastlane prefill phone number inside card field components (3562)
2024-09-11 17:07:47 +02:00
Alex P.
dd82f67888
Do not cache webhook.status.registered-webhooks 2024-09-11 16:47:15 +03:00
Philipp Stracker
d4c242c013
Submit axo_nonce during block checkout
Initial logic supports Ryan flow, when paying with a saved card.
2024-09-11 13:00:25 +02:00
Alex P.
1f17989723
Declare tokenization for ACDC only when vaulting enabled 2024-09-11 10:08:35 +03:00
Alex P.
c5381e34ad
Fix PUI error in editor 2024-09-11 08:09:15 +03:00
Daniel Dudzic
861034855e
Make sure you can't trigger lookup when a different payment gateway is selected 2024-09-11 00:44:32 +02:00
Daniel Dudzic
f86f6a3f5a
Add Submit button and loading spinners 2024-09-11 00:39:09 +02:00
Daniel Dudzic
c24b753c38
AXO: Remove restriction for the Force shipping to the customer billing address shipping config 2024-09-10 19:12:14 +02:00
Daniel Dudzic
907b807122
Merge branch 'PCP-3380-prepare-fastlane-integration-on-block-checkout' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3380-prepare-fastlane-integration-on-block-checkout 2024-09-10 18:47:08 +02:00
Daniel Dudzic
e3996b1f6e
Add Submit button 2024-09-10 18:46:27 +02:00
Alex P.
9bafceddec
Fix shipping callback condition in status report 2024-09-10 16:41:53 +03:00
Alex P.
b9118616d0
Use ?: 2024-09-10 15:11:17 +03:00