Commit graph

9233 commits

Author SHA1 Message Date
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
Narek Zakarian
1bd4e1235f
Do not add the gateways if is not onboarded 2025-03-14 19:10:59 +04:00
Emili Castells
ae2167c998
Merge pull request #3222 from woocommerce/PCP-4349-fatal-error-on-payments-tab-when-using-braintree-and-new-pcp-ui
Unset the payment methods only if it belongs to our plugin (4349)
2025-03-14 16:09:26 +01:00
Philipp Stracker
29f56a7db8
Lazily resolve card payment configuration 2025-03-14 16:03:27 +01:00
Narek Zakarian
b52a48dd60
Fix the CS 2025-03-14 18:56:45 +04:00
Narek Zakarian
9207ce28a3
Fix the CS 2025-03-14 18:55:31 +04:00
Narek Zakarian
09eb647e97
unset the methods registered only within the plugin 2025-03-14 18:55:00 +04:00
Narek Zakarian
fbd78d0527
Create a service to list all the gateway IDs 2025-03-14 18:54:21 +04:00
Philipp Stracker
640c324842
Prepare config getters for ACDC/BCDC detection 2025-03-14 15:48:09 +01:00
Philipp Stracker
282d273c96
♻️ Simplify the card payments flag logic 2025-03-14 15:45:57 +01:00
Philipp Stracker
197e3ef0ed
New filter to disable card payments
This is a preparation for the planned branded-experience.
2025-03-14 15:39:51 +01:00
Philipp Stracker
b9d7574418
💡 Add/update comments related to #legacy-ui todos 2025-03-14 15:30:41 +01:00
Philipp Stracker
4afa8dd4dd
💡 Improve comments for connection-services 2025-03-14 15:14:41 +01:00
Philipp Stracker
a693ca4455
Add legacy service ‘settings.connection-state’
The service is required for DCC configuration (in legacy and new UI mode)
2025-03-14 15:14:12 +01:00
Philipp Stracker
d4857102fe
♻️ Apply more suitable DI service name 2025-03-14 12:18:05 +01:00
Philipp Stracker
cad5378089
💡 Update the class documentation 2025-03-14 12:13:41 +01:00
Philipp Stracker
a7f736c52c
🧪 Update existing unit test cases 2025-03-14 11:59:52 +01:00
Philipp Stracker
cc2e940601
🔀 Merge branch 'trunk' 2025-03-14 11:45:11 +01:00
Philipp Stracker
b7d9e2c8fd
🎨 Apply phpcs styles 2025-03-14 11:43:33 +01:00
Philipp Stracker
a39edd0225
♻️ Remove an unused param to avoid confusion
The DCC status is not defered from the Settings instance, but from the specific DCCGatewayConfiguration service.
2025-03-14 11:42:41 +01:00
Philipp Stracker
16b4e235f2
💡 Fix typo 2025-03-14 11:39:34 +01:00
Philipp Stracker
ad0085ee8f
💡 Document DI service name 2025-03-14 11:38:56 +01:00
Philipp Stracker
31686a6214
Early exit if merchant is not onboarded 2025-03-14 11:38:39 +01:00
Philipp Stracker
0d54c84e66
♻️ Refactor DCCGatewayConfiguration “reset” logic 2025-03-14 11:33:28 +01:00
Philipp Stracker
0d69dff0f4
♻️ Use DCCGatewayConfiguration service 2025-03-14 11:13:44 +01:00
Philipp Stracker
60bdf6dea1
💡 Document DI service names 2025-03-14 10:57:40 +01:00
Daniel Dudzic
d9e9f6aae0
Display only Credit Cards for Personal merchants in onboarding 2025-03-13 19:08:24 +01:00
Philipp Stracker
532543f490
♻️ Use the DCCGatewayConfiguration service 2025-03-13 18:04:01 +01:00
Emili Castells
4e0e58c7b5
Merge pull request #3216 from woocommerce/PCP-4346-pay-pal-button-for-vaulting-subscription-in-block-cart-page-does-not-work
PayPal button for vaulting subscription in block cart page does not work (4346)
2025-03-13 17:44:45 +01:00
Emili Castells
220cb44c50
Merge pull request #3214 from woocommerce/PCP-4341-paylater-in-the-disable-funding-array-even-though-backend-has-it-enabled
Fix the mapping for the pay later button. (4341)
2025-03-13 17:44:31 +01:00
Emili Castells
98534f1922
Merge pull request #3213 from woocommerce/PCP-4301-bump-minimum-required-wc-version
Update plugin header, changelog and readme to 3.0.0
2025-03-13 17:44:16 +01:00
Emili Castells
580625fb92
Merge pull request #3211 from woocommerce/PCP-4303-hide-non-pay-pal-payment-methods-in-payments-tab-when-disabled-in-payment-methods-tab
Hide the gateways if they are not enabled (4303)
2025-03-13 17:42:58 +01:00
Emili Castells
96ef4785e7
Merge pull request #3207 from woocommerce/PCP-4239-subscriptions-and-save-payment-methods
Subscriptions and "Save Payment Methods"
2025-03-13 17:42:25 +01:00
Emili Castells Guasch
e1baf6d531 Remove enforcePaymentMethodForCart method, the problem it solved is already fixed in wc 2025-03-13 17:29:42 +01:00
Narek Zakarian
19a923a6a6
Use the new method for pay later button mapping 2025-03-13 17:46:34 +04:00
Narek Zakarian
3629b2b728
The 'pay-later' here is redundant. 2025-03-13 17:46:16 +04:00
Narek Zakarian
d8a688da14
Create a new method for mapping the pay later button. 2025-03-13 17:45:42 +04:00
Emili Castells Guasch
796a81eaa3 Update plugin header, changelog and readme 2025-03-13 14:18:18 +01:00
Emili Castells Guasch
3e2c225c5f Bump minimum required WC version 2025-03-13 14:01:28 +01:00
Emili Castells
b3135764b1
Merge pull request #3205 from woocommerce/PCP-4283-pay-pal-button-for-wc-subscriptions-product
PayPal button for WC Subscriptions product  (4283)
2025-03-13 12:51:27 +01:00
Emili Castells
e8d78a00f3
Merge pull request #3212 from woocommerce/PCP-4296-isu-incorrect-country
Modify config defaults to better accommodate country-specific requirements (4296)
2025-03-13 12:27:56 +01:00
Emili Castells Guasch
62d14aa5ef Activate plugin after wc is activated 2025-03-13 11:48:15 +01:00
Daniel Dudzic
a707dd629f
Remove redundant GB specific extendedMethods definition 2025-03-13 10:31:09 +01:00
Daniel Dudzic
22cd59d0f5
Modify config defaults to better accommodate country-specific requirements 2025-03-13 10:25:25 +01:00
Narek Zakarian
972b50167b
Fix the CS 2025-03-13 13:00:54 +04:00
Narek Zakarian
17f610ce77
Hide the gateways if they are not enabled. 2025-03-13 12:49:21 +04:00
Emili Castells
871897811c
Merge pull request #3208 from woocommerce/refactor/e2e-php-test-suite
Refactor/e2e php test suite to integration
2025-03-13 09:24:14 +01:00
Philipp Stracker
ca846e7678
💡 Add a few comments 2025-03-12 18:39:12 +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
Emili Castells Guasch
129eec6baa Rename e2e to integration 2025-03-12 18:14:01 +01:00