Commit graph

6698 commits

Author SHA1 Message Date
Philipp Stracker
89fa0f1fa7
New utility function to loop all group-fields 2024-09-30 18:57:00 +02:00
Philipp Stracker
8b0e12c06d
♻️ Minor code cleanup
- Define class properties
- Change visibility of properties
- Add some comments
2024-09-30 18:50:25 +02:00
Niklas Gutberlet
f3e734dfa7
Merge pull request #2611 from woocommerce/PCP-3691-fix-phone-sync-error
Fastlane payment methods disappear on block Checkout when changing payment method (3691)
2024-09-17 15:06:51 +02:00
Philipp Stracker
d7cdc9eada
🔀 Merge branch 'fastlane' 2024-09-17 14:56:03 +02:00
Daniel Dudzic
2dae8021fd
Update the compatibility notice, removing Block Checkout from the incompatible list 2024-09-17 14:38:25 +02:00
Philipp Stracker
85ad2f8edb
🐛 Check if cancel is possible before calling it 2024-09-17 14:31:21 +02:00
Daniel Dudzic
46d0d1b0c3
Hide terms and place order button pre-lookup 2024-09-17 14:22:36 +02:00
Daniel Dudzic
483f017d8d
Make submit button full width on mobile 2024-09-17 14:13:29 +02:00
Daniel Dudzic
deb1d7a618
Fix parameters declaration for the constructor 2024-09-16 18:47:23 +02:00
Daniel Dudzic
7b9a19a7f0
Merge branch 'PCP-3681-fastlane-use-advanced-card-processing-gateway-icons' of github.com:woocommerce/woocommerce-paypal-payments into fastlane 2024-09-16 18:45:58 +02:00
Danny Dudzic
d34034a84e
Merge pull request #2606 from woocommerce/PCP-3678-fastlane-phone-sync-for-block-checkout
Fastlane "Phone-Sync" for block checkout (3678)
2024-09-16 18:29:24 +02:00
Philipp Stracker
119fdec839
♻️ Minor simplification 2024-09-16 18:27:42 +02:00
Philipp Stracker
22e0143c55
Update unit test to pass CI checks 2024-09-16 18:15:38 +02:00
Philipp Stracker
b05a3e933f
🔥 Remove useless state value 2024-09-16 17:56:00 +02:00
Philipp Stracker
c8fd798f62
Update prefill-value on phone number change 2024-09-16 17:55:19 +02:00
Philipp Stracker
50daa3e99e
Inject paymentComponent to phone-sync-handler 2024-09-16 17:52:32 +02:00
Danny Dudzic
9eaf93d642
Merge pull request #2597 from woocommerce/PCP-3679-fastlane-mastercard-icon-fix
Fix MasterCard in Fastlane component (3679)
2024-09-16 17:25:40 +02:00
Danny Dudzic
6d0ea8a7c4
Merge pull request #2605 from woocommerce/PCP-3380-prepare-fastlane-integration-on-block-checkout
AXO: Add support for Block Checkout
2024-09-16 17:24:30 +02:00
Daniel Dudzic
a1ded99f3f
Move axo block module loading to the correct place plus some minor PHPCS fixes 2024-09-16 17:16:29 +02:00
Philipp Stracker
55635d11c0
🔀 Merge branch 'PCP-3380’ 2024-09-16 16:35:12 +02:00
Danny Dudzic
47d5874e62
Merge pull request #2603 from woocommerce/PCP-3649-fastlane-backend-logic-changes
Fix Gary-flow in PCP-3380 branch (3649)
2024-09-16 16:26:39 +02:00
Daniel Dudzic
ae3ad55cde
Add the message on load instead of the card fields 2024-09-16 16:25:16 +02:00
Philipp Stracker
e2cb454556
🔥 Remove unused file 2024-09-16 15:47:10 +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
Emili Castells
bf525bc7b8
Merge pull request #2601 from woocommerce/release/2.9.1-rc1
Release 2.9.1-rc1
2024-09-16 15:22:36 +02:00
Emili Castells Guasch
db752b23e2 Release 2.9.1-rc1 2024-09-16 15:14:45 +02:00
Philipp Stracker
78e0da27a1
🔊 More descriptive error message
New error reason when tokenization fails due to missing paymentComponent
2024-09-16 15:13:25 +02:00
Philipp Stracker
1548e1dba7
🔀 Merge branch 'PCP-3380’ 2024-09-16 15:04:10 +02:00
Philipp Stracker
cfb9b31286
🚚 More accurate file name 2024-09-16 15:02:36 +02:00
Emili Castells
d9a74bd7cf
Merge pull request #2600 from woocommerce/PCP-3671-pui-error-device-data-not-available-on-checkout-page-when-we-try-to-pay-with-pui
PUI error `DEVICE_DATA_NOT_AVAILABLE` on checkout page when we try to pay (3671)
2024-09-16 14:59:30 +02:00
Philipp Stracker
25d5d3d059
🔀 Merge branch 'PCP-3380’ 2024-09-16 14:49:55 +02:00
Philipp Stracker
22b34503f5
Fix error with woocommerce 9.3.1 2024-09-16 13:30:03 +02:00
Philipp Stracker
650bc2af41
Integrate phone-sync handler again 2024-09-16 13:12:13 +02:00
Philipp Stracker
50711fb37d
🔀 Merge branch 'PCP-3380’
# Conflicts:
#	modules/ppcp-axo-block/resources/js/index.js
2024-09-16 13:11:23 +02:00
Emili Castells Guasch
660ce00887 Fix psalm 2024-09-16 12:42:25 +02:00
Emili Castells Guasch
23962841e7 Move fraudnet session id logic into entity getter method 2024-09-16 12:22:33 +02:00
Daniel Dudzic
cfa411078a
Remove the redundant scriptLoading.js file 2024-09-14 00:37:00 +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
f77aae6b90
Add address card toggling 2024-09-13 22:30:04 +02:00
Daniel Dudzic
96c566321a
Clean up the CSS 2024-09-13 19:36:08 +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
Philipp Stracker
1c4d17f0ea
♻️ Apply new icon logic to ACDC gateway 2024-09-13 18:57:27 +02:00
Philipp Stracker
cbd3fe24e4
Integrate ACDC icons in AXO gateway 2024-09-13 18:56:58 +02:00
Philipp Stracker
487038c0d3
🔥 Remove the Axo-specific icons from the gateway 2024-09-13 18:20:37 +02:00
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