Commit graph

1315 commits

Author SHA1 Message Date
Daniel Dudzic
f463f90ff0
♻️ Refactor the OrderFactory to remove duplicate code and make the code more modular 2025-06-26 12:12:20 +02:00
Emili Castells Guasch
1755e78533
Merge trunk 2025-06-23 10:38:47 +02:00
Alex P.
60d4ea2208
Enable server-side callback via feature flag 2025-06-20 15:14:11 +03:00
Alex P.
6691ee5a21
Use shipping callback 2025-06-20 10:43:52 +03:00
Philipp Stracker
d8a8863e98
👔 Add contact preference to context payload 2025-06-13 15:10:14 +02:00
Philipp Stracker
2d7435e949
🏗️ Inject new contact-preference factory 2025-06-13 15:08:00 +02:00
Alex P.
55b9f49eba
Send venmo payment source 2025-06-11 15:13:48 +03:00
Alex P.
13250d9bd4
Remove unused after_checkout_validation 2025-06-11 15:13:20 +03:00
Emili Castells
12df58b31c
Merge pull request #3431 from woocommerce/PCP-4655-experience-context
Use experience_context
2025-06-02 11:46:43 +02:00
Alex P.
da45fb1baf
Remove ApplicationContext 2025-05-29 19:49:43 +03:00
Alex P.
279a3452c8
Use ExperienceContext for PayPal buttons 2025-05-29 16:37:54 +03:00
Alex P.
a61ae8b6eb
Simplify token parameter 2025-05-29 09:48:35 +03:00
Emili Castells
b5ea07bcf0
Merge pull request #3395 from woocommerce/PCP-4449-pay-pal-button-greyed-out-on-single-product-page-for-variable-products-with-2-attributes-with-the-old-ui
PayPal button greyed out on single product page for variable products with 2+ attributes with the old UI.  (4449)
2025-05-28 16:10:11 +02:00
Emili Castells Guasch
fd48506ae7
Use wc country instead of new settings service 2025-05-27 15:49:39 +02:00
Daniel Dudzic
06a8e16a64
🐛 Only load BCDC button on Classic Checkout 2025-05-23 19:55:24 +02:00
Daniel Dudzic
57e70683b1
🐛 Disable BCDC on Block Checkout 2025-05-23 19:20:21 +02:00
Daniel Dudzic
602efee944
🇲🇽 Add Mexico-specific logic for BCDC 2025-05-23 18:40:17 +02:00
carmenmaymo
0eb2f1258a
Fix price sorting error by filtering null values before sort
Prevents "TypeError: a is null" when comparing prices.
2025-05-19 16:13:32 +02:00
Emili Castells
89e847bc52
Merge pull request #3163 from woocommerce/PCP-4156-implement-3ds-for-google-pay
Implement 3D secure check for Google Pay (4156)
2025-05-05 15:55:39 +02:00
carmenmaymo
986f048c43
Fix CS 2025-04-24 09:01:01 +02:00
carmenmaymo
814cfd5fef
Merge branch 'trunk' into PCP-4408-pay-pal-smart-button-incompatible-with-woo-commerce-subscription-switching 2025-04-24 08:57:36 +02:00
carmenmaymo
86bf3f30d1
Hide button if there is a subscription switch in cart 2025-04-24 08:57:20 +02:00
Philipp Stracker
ebcf91461f
Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-button/src/Helper/ThreeDSecure.php
2025-04-23 15:00:00 +02:00
carmenmaymo
842506e554
Fix phpcs 2025-04-03 11:06:36 +02:00
carmenmaymo
f4792b5349
Add more conditions to show the button 2025-03-31 15:43:56 +02:00
Emili Castells Guasch
a8189b0a6c Add filter to not render pay later messaging 2025-03-31 12:47:40 +02:00
Emili Castells Guasch
01adac6101 Fix typo 2025-03-27 09:57:35 +01:00
Emili Castells Guasch
e4ee46e6ee Merge trunk 2025-03-27 09:53:35 +01:00
Philipp Stracker
a6b0866745
🔀 Merge branch 'trunk' 2025-03-24 17:55:45 +01:00
Daniel Dudzic
61a265a1a4
Fix another batch of typos 2025-03-24 14:27:35 +01:00
Daniel Dudzic
9fb76a966a
Fix another batch of typos 2025-03-24 14:18:58 +01:00
Daniel Dudzic
a0a7d042b4
Fix first batch of typos 2025-03-24 14:09:19 +01:00
Emili Castells
c527c44f6c
Merge pull request #3195 from woocommerce/PCP-4219-security-deposits-plugin-causing-pay-pal-button-to-be-grayed-out-on-product-page
Security Deposits Plugin Causing PayPal Button to Be Grayed Out on Product Page (4219)
2025-03-24 09:49:31 +01:00
Philipp Stracker
c4a1217e6a
🔀 Merge branch ‘trunk' 2025-03-21 18:03:42 +01:00
Emili Castells
51a2f4d4f9
Merge pull request #3067 from woocommerce/PCP-4122-unfortunately-your-credit-card-details-are-not-valid-shown-with-actually-valid-card-during-checkout-with-invalid-postcode
Unfortunately, your credit card details are not valid" shown with actually valid card during checkout with invalid postcode (4122)
2025-03-21 17:17:27 +01:00
Narek Zakarian
0aecc5aa32
Pass the partner attribution helper to a smart button 2025-03-21 18:09:29 +04:00
Narek Zakarian
431a8e5cf7
Rebase 2025-03-21 18:06:50 +04:00
carmenmaymo
784af34b1e
Merge branch 'trunk' into PCP-4156-implement-3ds-for-google-pay 2025-03-20 16:30:05 +01:00
Emili Castells
20241d2cc2
Merge pull request #3219 from woocommerce/PCP-4307-card-fields-acdc-does-not-work-in-classic-checkout
Advanced Card Fields do not work in classic checkout (4307)
2025-03-20 10:44:53 +01:00
Philipp Stracker
b8ab931a7a
🔀 Merge branch 'trunk' 2025-03-18 17:06:38 +01:00
Philipp Stracker
aab21b62b4
🐛 New UI: Disable BCDC on store-level
Instead of checking “is enabled” we now check “has capability” - i.e. if a merchant has ACDC capability we will always disable the BCDC funding source
2025-03-18 16:32:38 +01:00
Philipp Stracker
09c4f176d0
🐛 Stop enforcing card payments in checkout
Removed a filter that reverted settings entered in the legacy UI’s “Disable Alternative Payment Methods” field.
2025-03-18 16:21:34 +01:00
Philipp Stracker
e9b3cc61d2
Add new hook to customize disabled-funding list 2025-03-18 16:18:19 +01:00
Philipp Stracker
ee5237adf5
🐛 Fix the “disable card funding” condition 2025-03-18 16:11:42 +01:00
Philipp Stracker
b5c08e842e
♻️ Make code more readable, resolve one warning 2025-03-18 14:53:49 +01:00
Emili Castells
9f417f11be
Merge pull request #3169 from woocommerce/PCP-4256-shipping-callback-not-loading-despite-being-enabled
Shipping Callback not loading despite being enabled (4256)
2025-03-18 11:46:11 +01:00
Emili Castells
f766f3f813
Merge pull request #3160 from woocommerce/PCP-4257-phone-number-not-saved-in-wc-order-when-using-pay-now-experience
Phone Number not saved in WC order when using Pay Now experience (4257)
2025-03-18 11:45:09 +01:00
Philipp Stracker
a1f8022574
♻️ Pass decision flags to disabled-funding hook 2025-03-17 16:59:01 +01:00
Philipp Stracker
3fead84a70
♻️ Move DCC hooks to separate helper method 2025-03-17 15:23:29 +01:00
Philipp Stracker
3cfbd1002f
♻️ Slightly improve code readability 2025-03-17 14:59:03 +01:00