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
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
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
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
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
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
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
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
8ec852952f
🔀 Merge branch 'trunk’
...
# Conflicts:
# modules/ppcp-settings/resources/js/data/common/hooks.js
2025-03-05 17:01:52 +01:00
Philipp Stracker
84dd8a3dec
👔 Wire up JS onboarding-flags with PHP back-end
2025-03-05 16:57:51 +01:00
Narek Zakarian
ed5077347e
Fix the Psalm
2025-03-05 19:10:43 +04:00
Philipp Stracker
db1fc28d47
👔 Update the product generation logic
...
Vaulting is only available to business sellers
2025-03-05 16:01:42 +01:00
Philipp Stracker
51fd3b3707
🧪 Update JS tests to meet new requirements
2025-03-05 16:00:52 +01:00
Narek Zakarian
e46039fe63
Unset the BCDC button if merchant is eligible for ACDC.
2025-03-05 19:00:11 +04:00
Philipp Stracker
f014539a95
♻️ Remove “append-token” method
...
We want to build the full payload, including the token, in the `::data()` method.
2025-03-05 15:14:52 +01:00
Philipp Stracker
1c17e7199f
♻️ Replace builder pattern with function arguments
...
Instead of using `with_products()` to generate a new object, we now simply pass the products array to the data() function. This adds a lot more transparency to the process and makes the code easier to read and maintain.
The builder pattern is only implemented in 2 files, and both are rarely used, which makes it an overly complex solution for a simple task (in this project).
2025-03-05 14:59:55 +01:00
carmenmaymo
334f6a74e2
Add __meta key to allowed in reducer to prevent warning
2025-03-05 13:40:09 +01:00
Philipp Stracker
81d1925fef
🎨 Consolidate recurring condition into a const
2025-03-05 11:32:35 +01:00
Philipp Stracker
3ff64d841a
⚡ ️ Leverage memoization for selector
2025-03-05 11:32:06 +01:00
Daniel Dudzic
162ec8d0f9
Merge branch 'PCP-4273-bcdc-button-is-visible-on-classic-checkout-and-on-express-checkout-even-when-acdc-is-enabled-or-disabled' of github.com:woocommerce/woocommerce-paypal-payments into PCP-4276-fastlane-is-broken-on-frontend
2025-03-04 17:52:59 +01:00
Narek Zakarian
878bf393d7
Directly check if gateway is enabled
2025-03-04 20:34:17 +04:00
Philipp Stracker
27f4ab442f
♻️ Move PayPal product names to config file
...
Because constants are better than magic strings
2025-03-03 15:27:53 +01:00
Philipp Stracker
748c7f4d10
🔀 Merge branch 'trunk'
2025-03-03 15:23:05 +01:00
Daniel Dudzic
68785683e3
Clean up the usePaymentDependencyState.js hook
2025-03-03 14:53:04 +01:00
Daniel Dudzic
85c227aabd
Remove code comment
2025-03-03 14:30:47 +01:00
Daniel Dudzic
8e9337dae9
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-4258-make-the-pay-later-payment-method-dependent-on-save-pay-pal-and-venmo-setting-being-disabled
2025-03-03 14:26:16 +01:00
Daniel Dudzic
e8be67d286
Add support for setting-based payment method dependencies
2025-03-03 14:26:08 +01:00
Emili Castells
4e000e2ae9
Merge pull request #3167 from woocommerce/PCP-4261-uncheck-item-when-disabled-for-payment-methods
...
Do not render the button when it is disabled from Payment Methods (4261)
2025-02-28 15:18:49 +01:00
Narek Zakarian
c38338f05d
just return true when is the old settings
2025-02-28 15:50:31 +04:00
Emili Castells
63c38c1167
Merge pull request #3043 from woocommerce/PCP-3904-show-new-settings-ui-to-new-merchants-only
...
Show new settings UI to new merchants only (3904)
2025-02-28 11:47:09 +01:00
Philipp Stracker
f2f9c1ebcd
✨ Implement the “useCardPayments” option
2025-02-27 19:21:29 +01:00
Philipp Stracker
bfa101ac24
🧪 Add failing tests
...
Expect to receive the decission flag “Use Card Payments” that was made during onboarding.
2025-02-27 19:21:09 +01:00
Philipp Stracker
39abc3a646
✨ Add the expected onboarding “options” value
...
TDD: Implement the expected return value to resolve the failing tests
2025-02-27 19:03:31 +01:00