Commit graph

9189 commits

Author SHA1 Message Date
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
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
Emili Castells Guasch
78ba28c04b Reduce php and wc matrix version 2025-03-12 18:00:00 +01:00
Emili Castells Guasch
280dc71871 Fix settings test 2025-03-12 17:57:52 +01:00
Emili Castells Guasch
869670a6c0 Use wc and woosubscriptions apis to create the subscription 2025-03-12 17:46:20 +01:00
Philipp Stracker
de46e4ed08
♻️ Improve SDK component inject logic
Just make the filter callback more readable, still no change in the plugin logic
2025-03-12 17:33:44 +01:00
carmenmaymo
ebb1889b8e
If setup has subs then enable venmo and save cards 2025-03-12 17:23:32 +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
f178636951
💡 Fix typo in comment 2025-03-12 14:21:29 +01:00
Philipp Stracker
e2fbeffcdd
🔥 Remove incorrect filter
The filter solved a wrong problem: It only hides the BCDC button, while the solution would be to disable the entire BCDC gateway.
2025-03-12 13:42:24 +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
Emili Castells Guasch
a31bed6802 Merge branch 'trunk' into PCP-4283-pay-pal-button-for-wc-subscriptions-product 2025-03-12 11:38:39 +01:00
Emili Castells
80a99c75d3
Merge pull request #3201 from woocommerce/PCP-4285-configure-buttons-in-features-section-does-not-work-as-expected
Configure buttons in Features section does not work as expected (4285)
2025-03-11 17:52:10 +01:00
Emili Castells
bab13f2524
Merge pull request #3202 from woocommerce/PCP-4300-fix-broken-toggle-sync-for-payment-and-setting-dependencies
Fix broken payment method toggle sync (4300)
2025-03-11 17:50:44 +01:00
Emili Castells
242a0e40a7
Merge pull request #3203 from woocommerce/PCP-4294
Fix the flags for ACDC and BCDC when onboarding with subscriptions (4294)
2025-03-11 17:33:40 +01:00
Narek Zakarian
159dfeb5cb
Fix tests 2025-03-11 19:44:50 +04:00
Narek Zakarian
b09fb7a64a
Always include the BILLING_AGREEMENT with subscriptions 2025-03-11 19:06:11 +04:00
Narek Zakarian
228375e15b
Include subscriptions flag and ADVANCED_VAULTING for BCDC onboarding 2025-03-11 19:05:40 +04:00
Daniel Dudzic
5478f6b08e
Update the legacy meta key to the new one. Add setting-based dependency sync. 2025-03-11 13:38:01 +01:00
carmenmaymo
ab9c2ead76
Fix modal and selecTab in Features 2025-03-11 13:01:54 +01:00
Emili Castells Guasch
cd4ba81da6 Merge branch 'trunk' into PCP-4283-pay-pal-button-for-wc-subscriptions-product 2025-03-11 10:41:08 +01:00
Emili Castells
abd446a1e3
Merge pull request #3199 from woocommerce/PCP-4292-automatically-enable-fastlane-when-there-are-no-compatibility-warnings-errors-and-us-store-merchant-is-eligible-for-acdc
Enable Fastlane by default for compatible setups (4292)
2025-03-11 09:59:28 +01:00
Emili Castells
01bfbe708f
Merge pull request #3198 from woocommerce/PCP-4294-isu-incorrect-business-subscriptions-with-acdc-and-no-cards-flows
Use single onboarding url (4294)
2025-03-11 09:44:37 +01:00
Daniel Dudzic
3625ba975d
Fix the class name in the comment 2025-03-11 08:58:13 +01:00
Daniel Dudzic
905bc80a21
Fix the class name in the comment 2025-03-11 08:57:26 +01:00
Daniel Dudzic
913c98707d
Remove the erranous Mollie dependency 2025-03-11 08:56:19 +01:00
Narek Zakarian
9b12abbd59
Add docs 2025-03-11 11:28:15 +04:00
Daniel Dudzic
d7314a3ebc
Enable Fastlane by default for compatible setups 2025-03-10 23:57:08 +01:00
Narek Zakarian
090a140e7e
Use single onboarding url 2025-03-10 21:48:25 +04:00
Emili Castells Guasch
7ec82dc00e Merge branch 'trunk' into PCP-4283-pay-pal-button-for-wc-subscriptions-product 2025-03-10 11:55:17 +01:00
Emili Castells
6078ec3f59
Merge pull request #3192 from woocommerce/PCP-4289-fix-payment-method-highlighting-via-todos
Fix payment method highlighting via todos (4289)
2025-03-10 10:52:46 +01:00
Emili Castells Guasch
0afe4861bb Connect legacy vault_enabled setting to new save_paypal_and_venmo 2025-03-07 15:44:55 +01:00
Emili Castells
3cb69f0ae0
Merge pull request #3194 from woocommerce/PCP-4290-direct-traffic-from-the-wc-gateway-screen-to-the-payment-methods-tab
Add gateway redirects to new settings UI with highlight support (4290)
2025-03-07 15:11:58 +01:00
Emili Castells
187a911d25
Merge pull request #3190 from woocommerce/PCP-4284-logging-toggle-does-not-enable-logging-functionality
Add mapping for the Enable Logging setting (4284)
2025-03-07 15:01:48 +01:00
Daniel Dudzic
3e8d6590f6
Fix linting issues 2025-03-07 14:37:25 +01:00