Commit graph

1271 commits

Author SHA1 Message Date
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
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
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
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
Philipp Stracker
745c1cc88c
🔥 Remove an unused function argument 2025-03-17 14:58:16 +01:00
Philipp Stracker
f5194c0be4
♻️ Improve code style and readability 2025-03-17 14:45:37 +01:00
Philipp Stracker
42b357d8a6
♻️ Simplify SmartButton code a bit 2025-03-14 18:28:12 +01:00
Philipp Stracker
4803159436
♻️ Refactor the DisabledFundingSource logic
Simplify condiitons and code structure, as the old logic was overly complex. Also, ACDC logic is outsourced to the CardFieldsModule via filters and does not need to be considered here.
2025-03-14 18:27:53 +01:00
Philipp Stracker
901e7761e1
Consolidate ACDC logic in CardFieldsModule 2025-03-14 18:05:21 +01:00
Philipp Stracker
433e7f7c8b
🔥 Remove redundant checks from SmartButton
Most checks are already implemented in the CardPaymentsConfiguration class.
2025-03-14 16:27:01 +01:00
Philipp Stracker
afb7044b03
🚚 Rename configuration class
The class name does not reflect the purpose of the class
2025-03-14 16:15:31 +01:00
Philipp Stracker
b9d7574418
💡 Add/update comments related to #legacy-ui todos 2025-03-14 15:30:41 +01:00
Philipp Stracker
d4857102fe
♻️ Apply more suitable DI service name 2025-03-14 12:18:05 +01:00
Philipp Stracker
532543f490
♻️ Use the DCCGatewayConfiguration service 2025-03-13 18:04:01 +01:00
Philipp Stracker
201f5ab20c
♻️ Implement DCCGatewayConfiguration service
Instead of fixing incorrect conditions in different files, we want to use a single source of truth for the DCC status
2025-03-12 18:31:11 +01:00
Philipp Stracker
791a5d33da
♻️ Make DCC check clearer in SmartButton class
Done during debugging to better understand the data flow, does not change/solve anything
2025-03-12 17:04:38 +01:00
Philipp Stracker
11f91eed62
♻️ Refactor the DisabledFundingSources class
Split the code into small, documented functions to make the decision flow and data-relationship clearer
2025-03-12 15:58:39 +01:00
Philipp Stracker
3a652f30b5
🎨 Fix phpcs suggestions 2025-03-12 14:53:13 +01:00
Philipp Stracker
a5ee2e29d5
♻️ Never disable funding source “paypal”
Consolidate funding source logic into the responsible class
2025-03-12 14:36:41 +01:00
Philipp Stracker
6da8988e0a
♻️ Improve readability and code structure 2025-03-12 12:31:28 +01:00
Philipp Stracker
1938f6b6ed
🎨 Make condition easier to read 2025-03-12 11:48:15 +01:00
Daniel Hüsken
95aefb9922
Improved detection if a price given on the page specially when multiple in dom 2025-03-07 14:20:57 +01:00
Narek Zakarian
f83449090b
Allow to filter the disabled funding sources 2025-03-05 18:59:41 +04:00
Daniel Hüsken
3a740db289
Fix Shipping dropdown not displayed because of an authentication error 2025-02-28 09:03:13 +01:00
Daniel Hüsken
4d68973408
Fix PHPCS 2025-02-26 15:54:03 +01:00
Daniel Hüsken
4521fc8f52
Add phone number from Payer to check out without confirmation 2025-02-26 15:47:19 +01:00
Philipp Stracker
9f44657400
💡 Document use of “settings->set()” via comments 2025-02-18 13:04:51 +01:00
Philipp Stracker
7a106742e3
🚚 Rename environment-service 2025-02-17 18:48:38 +01:00
Philipp Stracker
d672656513
🔥 Remove unused “use” statements 2025-02-17 18:26:05 +01:00
Philipp Stracker
fcb9ae488a
🔥 Remove unused “use” statements 2025-02-17 16:55:18 +01:00
Philipp Stracker
a3fbe6f19f
♻️ Refactor EarlyOrderHandler 2025-02-17 16:46:12 +01:00
Philipp Stracker
7d2b0694d9
♻️ Refactor conditions inside services.php 2025-02-17 16:42:47 +01:00
Daniel Hüsken
fd6f8a1fe3
removed credit card error message when oder can't create 2025-02-06 12:37:23 +01:00
Daniel Hüsken
25ad71c9b9
fix JS error 2025-02-06 11:57:13 +01:00
Daniel Hüsken
0ee4fc2326
fix JS error 2025-02-06 10:20:18 +01:00
Philipp Stracker
90d2c77a5a
🚚 Extract Environment class to gateway module 2025-02-03 13:34:30 +01:00
Daniel Hüsken
14f91218f6
when variable product is in stock there is no need to query all variations 2024-12-10 13:23:20 +01:00
Philipp Stracker
cd5622260d
🎨 Eslint auto-fixes 2024-11-29 12:00:45 +01:00