Commit graph

6878 commits

Author SHA1 Message Date
Philipp Stracker
5833b3949d
🚧 Integrate sync handler into block checkout
# Conflicts:
#	modules/ppcp-axo-block/resources/js/index.js
2024-09-13 17:58:45 +02:00
Philipp Stracker
f3c83c6ec7
New event handler to observe the phone number 2024-09-13 17:56:20 +02:00
Daniel Dudzic
90aa261c8b
Refactor the change shipping address and change card buttons to a more modular structure 2024-09-13 17:27:39 +02:00
Philipp Stracker
ee2eb4799f
🐛 Fix MasterCard icon for Ryan
Reason:
The icon-key was set to “MASTER_CARD” but Fastlane used “MASTERCARD” without an underscore.
2024-09-13 17:25:23 +02:00
Daniel Dudzic
3315fbe116
Refactor the email button, shipping change button, and watermark code to a more modular structure 2024-09-13 15:27:10 +02:00
Emili Castells
e7e8140739
Merge pull request #2588 from woocommerce/PCP-3674-fastlane-component-disappears-in-gary-flow
Fastlane Component disappears in Gary flow (3674)
2024-09-13 12:22:14 +02:00
Emili Castells
b0e7510e63
Merge pull request #2589 from woocommerce/PCP-3672-remove-unnecessary-console-log
Remove leftover `console.log`
2024-09-13 12:06:23 +02:00
Emili Castells
51ad5404b3
Merge pull request #2586 from woocommerce/PCP-3659-hook-into-things-to-do-next
Hook into the "Things to do next" section to add custom tasks (3659)
2024-09-13 12:05:43 +02:00
Emili Castells
b44afc1245
Merge pull request #2584 from woocommerce/PCP-3651-fix-webhooks-list-after-registration
Fix webhooks list after onboarding
2024-09-13 12:05:17 +02:00
Philipp Stracker
63ff90f061
🩹 Do not modify gateway sort order in admin 2024-09-12 16:48:20 +02:00
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
2139ddaea8
Merge remote-tracking branch 'origin/PCP-3659-hook-into-things-to-do-next' into PCP-3659-hook-into-things-to-do-next 2024-09-12 14:24:04 +04:00
Narek Zakarian
2722c3f326
Fix the coding styles 2024-09-12 14:23:42 +04:00
Emili Castells Guasch
4309689365 Add namespace and constructor to stub task class 2024-09-12 12:11:39 +02: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
a25c86477c
Add stubs for WC Task 2024-09-11 19:46:48 +04:00
Narek Zakarian
0b9515df2c
Add stubs for WC Task 2024-09-11 19:44:57 +04:00
Narek Zakarian
4fb62c5c72
Add stubs for WC Task 2024-09-11 19:41:12 +04: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