Commit graph

32 commits

Author SHA1 Message Date
Daniel Dudzic
9a041f68f1
Merge branch 'fastlane' of github.com:woocommerce/woocommerce-paypal-payments into axo-blocks-additional-minor-code-cleanup-refactor 2024-09-25 16:17:53 +02:00
Daniel Dudzic
8b96613339
Localize strings 2024-09-25 00:09:27 +02:00
Daniel Dudzic
9b7cb5f401
Further reduce prop drilling and move the phone number to the Redux store 2024-09-24 14:46:12 +02:00
Daniel Dudzic
5a31fdd183
Move card details and shipping address to the Redux store 2024-09-24 02:09:38 +02:00
Philipp Stracker
b05a3e933f
🔥 Remove useless state value 2024-09-16 17:56:00 +02:00
Philipp Stracker
50daa3e99e
Inject paymentComponent to phone-sync-handler 2024-09-16 17:52:32 +02:00
Philipp Stracker
55635d11c0
🔀 Merge branch 'PCP-3380’ 2024-09-16 16:35:12 +02:00
Philipp Stracker
243630ea5d
🐛 Revert logic to call setPaymentComponent
Before the change, the paymentComponent always was null, as it was not set anywhere.
2024-09-16 15:45:41 +02:00
Philipp Stracker
650bc2af41
Integrate phone-sync handler again 2024-09-16 13:12:13 +02:00
Daniel Dudzic
75c808216c
Merge branch 'PCP-3649-fastlane-backend-logic-for-blocks' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3380-prepare-fastlane-integration-on-block-checkout 2024-09-14 00:21:27 +02:00
Daniel Dudzic
d7bbed1e01
Merge branch 'PCP-3662-implement-the-enable-fastlane-checkbox' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3380-prepare-fastlane-integration-on-block-checkout 2024-09-13 23:13:27 +02:00
Daniel Dudzic
859fd3396b
Optimize for prop drilling 2024-09-13 23:09:51 +02:00
Daniel Dudzic
4bda191f0e
Further separate code into hooks: useAxoCleanup, useAxoSetup, usePayPalScript and usePaymentSetup. Hide Shipping and Billing details on load. 2024-09-13 19:24:23 +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
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
Philipp Stracker
9a132fc050
🔀 Merge branch 'PCP-3662’ 2024-09-12 16:22:02 +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
9234a833dd
Submit axo_nonce 2024-09-12 15:21:06 +02:00
Daniel Dudzic
f470fb0c53
Rename the useAxoBlockManager hook to useFastlaneSdk 2024-09-12 14:37:22 +02:00
Daniel Dudzic
26fe36951c
Split the useUserInfoChange to separate hooks useCardChange and useShippingAddressChange 2024-09-12 13:53:35 +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
24a481bdeb
Add Billing Details updating when a new card gets selected 2024-09-11 22:58:13 +02: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
Daniel Dudzic
f86f6a3f5a
Add Submit button and loading spinners 2024-09-11 00:39:09 +02:00
Daniel Dudzic
e3996b1f6e
Add Submit button 2024-09-10 18:46:27 +02:00
Daniel Dudzic
bccfe4c436
Add better state management utilizing Redux 2024-09-10 12:03:50 +02:00
Philipp Stracker
83bf19cbc5
♻️ Switch from CC-Gateway to the AxoGateway 2024-09-09 18:06:29 +02:00
Daniel Dudzic
522b27aea0
Refactor the Change buttons and the Watermark 2024-09-06 11:33:01 +02:00
Daniel Dudzic
4b2da479f3
Add memoizing and improve the code quality of the card change button 2024-09-06 03:21:27 +02:00
Daniel Dudzic
ebd87b70e9
Initial Axo Blocks commit 2024-09-05 21:17:36 +02:00