Commit graph

9120 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Daniel Dudzic
e84bc21044
Fix Psalm error 2025-03-07 14:10:02 +01:00
Daniel Dudzic
55f3ff9d3b
Add gateway redirects to new settings UI with highlight support 2025-03-07 14:04:00 +01:00
Emili Castells
37c9a0e3eb
Merge pull request #3193 from woocommerce/PCP-4286-manual-connection-error
Manual Connection Error (4286)
2025-03-07 13:57:59 +01:00
Philipp Stracker
f7eeef3821
♻️ Move logging and next-steps into new function 2025-03-07 13:09:42 +01:00
Philipp Stracker
c8b46dfcb7
🧑‍💻 Add new hook to configure the plugin
Adds documentation on the onboarding-flow and provides an integration point for own modules and custom code.
2025-03-07 12:51:59 +01:00
Philipp Stracker
21147ae803
🥅 Additional error handling during merchant login 2025-03-07 12:43:56 +01:00
Daniel Dudzic
f6418665ed
Fix payment method highlighting via todos 2025-03-07 12:25:57 +01:00
Emili Castells
177efd32a3
Merge pull request #3185 from woocommerce/PCP-4279-existing-merchant-disconnecting-via-clear-now-button-should-see-new-ui-afterwards
Update the option when clearing the DB (4279)
2025-03-07 11:56:35 +01:00
Daniel Dudzic
c990bbb2f0
Add mapping for the Enable Logging setting 2025-03-07 10:14:02 +01:00
Emili Castells
1c608ac0c2
Merge pull request #3186 from woocommerce/PCP-4276-fastlane-is-broken-on-frontend
Hide Fastlane for logged in users in Classic Checkout (4276)
2025-03-06 16:10:21 +01:00
Daniel Dudzic
23d51063d2
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-4276-fastlane-is-broken-on-frontend 2025-03-06 15:35:46 +01:00
Daniel Dudzic
868fdd8a8f
Fix Fastlane regressions 2025-03-06 15:35:36 +01:00
Narek Zakarian
aa391e64fd
Update the option when clearing the DB
When clearing the DB from the old settings UI we need to update the option to show the new UI after.
2025-03-06 16:38:57 +04:00
Emili Castells
eb576afc5b
Merge pull request #3180 from woocommerce/PCP-4280-uncaught-type-error-cannot-read-properties-of-null-reading-checked
Uncaught type error cannot read properties of null reading checked (4280)
2025-03-06 09:50:08 +01:00
Emili Castells
fad93e3e81
Merge pull request #3182 from woocommerce/PCP-4232-change-onboarding-flags
Change onboarding flags (4232)
2025-03-06 09:46:36 +01:00
Emili Castells
f0e99624f0
Merge pull request #3181 from woocommerce/PCP-4273-bcdc-button-is-visible-on-classic-checkout-and-on-express-checkout-even-when-acdc-is-enabled-or-disabled
Create a helper for mapping the payment methods (4273)
2025-03-06 09:43:47 +01:00
Philipp Stracker
4a7316b6c1
🧪 Verify the ppcpToken via unit tests 2025-03-05 17:51:51 +01:00
Philipp Stracker
05b4baec15
🐛 Fix the partner-referral payload to pass tests 2025-03-05 17:27:39 +01:00
Philipp Stracker
42986980f6
🧪 Adjust tests to meet PayPal API requirements 2025-03-05 17:26:00 +01:00