Commit graph

961 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Philipp Stracker
53c7488180
♻️ Clarify variable names 2025-02-27 19:02:19 +01:00
Philipp Stracker
d48b11a75e
🧪 Add failing tests for new onboarding flags 2025-02-27 19:00:57 +01:00
Philipp Stracker
13ba22f849
🔀 Merge branch 'trunk' 2025-02-27 17:57:58 +01:00
Emili Castells
e2d6ccfb0b
Merge pull request #3159 from woocommerce/PCP-4130-hardcoded-flags-in-welcome-docs-component
Hardcoded flags in WelcomeDocs component (4130)
2025-02-27 12:54:18 +01:00
Emili Castells
59524bbe71
Merge pull request #3162 from woocommerce/PCP-4252-subscriptions-product-without-reference-transactions-but-with-acdc
Subscriptions product without reference transactions but with ACDC  (4252)
2025-02-27 12:50:12 +01:00
carmenmaymo
cbf953b09e
Remove target PPFrame 2025-02-27 10:14:17 +01:00
Emili Castells Guasch
ff9ca09cd6 Uncheck and disable toggle if merchant is not approved for reference transactions 2025-02-26 17:37:20 +01:00
Emili Castells Guasch
f302025ca8 Disable save PayPal and Venmo checkbox when not approved for reference transactions 2025-02-26 17:28:36 +01:00
Emili Castells Guasch
7bf3e83d85 Add Pay Later flag and pass it to welcome docs component 2025-02-26 15:46:18 +01:00
Emili Castells Guasch
109e6517f0 Add can use Fastlane flag and pass it to welcome docs component 2025-02-26 15:19:42 +01:00
Emili Castells
63b3c8a113
Merge pull request #3154 from woocommerce/PCP-4249-fastlane-add-incompatible-setup-notice
Settings UI: Add support for incompatible message for payment method items (4249)
2025-02-26 14:32:53 +01:00
Philipp Stracker
700e67eef4
♻️ Improve function naming and return value 2025-02-26 12:20:09 +01:00
Philipp Stracker
c244f97eb0
♻️ Make the URL cleanup more reusable 2025-02-26 12:11:45 +01:00
Philipp Stracker
0f0df468a2
🔥 Remove unused arguments 2025-02-26 12:03:26 +01:00
Philipp Stracker
abb81d3a7b
Remove invalid URL params during app boot 2025-02-26 11:58:41 +01:00
Philipp Stracker
23045aa77a
Allow replacing query args via navigation util
Before, we could only add or modify items. This change allows us to _remove_ query arguments from the URL
2025-02-26 11:45:59 +01:00
Philipp Stracker
3e5e997f04
♻️ After logout navigate to clean settings URL 2025-02-26 10:57:12 +01:00
Philipp Stracker
5472ca580f
Add new settings-page navigation helper 2025-02-26 10:56:38 +01:00
Daniel Dudzic
1e7d0cfb68
Improve the warning in the new UI for multiple warnings 2025-02-25 21:59:42 +01:00
Daniel Dudzic
f657676832
Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-4249-fastlane-add-incompatible-setup-notice 2025-02-25 16:27:48 +01:00
Daniel Dudzic
df8d21116c
Add support for warning messages for Payment Method items 2025-02-25 16:27:33 +01:00
Emili Castells
758419c980
Merge pull request #3153 from woocommerce/PCP-4248-show-subscriptions-box-for-business-account-but-disabled
Update the logic to show the subscription box even when the plugin is disabled (4248)
2025-02-25 16:01:39 +01:00
Emili Castells Guasch
fa60a38c22 Rename conditional property 2025-02-25 14:50:09 +01:00
Narek Zakarian
ba0de5d12a
Adjust the wording if the subscription plugin is not activated 2025-02-25 17:45:15 +04:00
Narek Zakarian
fc5760e518
Update the logic to show the subscription box.
The Subscription box should be visible even if the plugin is not activated. It should be disabled.
2025-02-25 17:44:40 +04:00
Emili Castells Guasch
2bcef52025 Merge branch 'trunk' into PCP-4167-disable-optional-payment-methods-when-woo-payments-is-active 2025-02-25 14:40:04 +01:00
Daniel Dudzic
07e1e3b2d2
Add the component and styling for the Warning Message for Payment Method items 2025-02-25 12:01:52 +01:00
Emili Castells Guasch
cd57bf6add Do not display onboarding payment methods screen when woopayments is active 2025-02-25 11:46:33 +01:00
Emili Castells
326ac452be
Merge pull request #3144 from woocommerce/PCP-4222-items-with-and-without-modal-are-not-aligned-correctly
Settings UI: Tighten up the payment methods footer and modal styling (4222)
2025-02-25 11:38:50 +01:00
Emili Castells Guasch
3f57f50078 Show methods screen and show non acdc info in playment flow component 2025-02-24 17:42:10 +01:00
Emili Castells Guasch
a540c80b3d Merge branch 'trunk' into PCP-4242-non-acdc-country-onboarding 2025-02-24 16:37:01 +01:00
Daniel Dudzic
e72b7deb09
Additional fixes. Fix logic for Google Pay and Apple Pay 2025-02-24 16:23:37 +01:00
Daniel Dudzic
78d14f4858
Merge branch 'PCP-4210-features-refactor-to-use-rest-endpoints' of github.com:woocommerce/woocommerce-paypal-payments into PCP-4210-features-refactor-to-use-rest-endpoints 2025-02-24 16:21:27 +01:00
Emili Castells Guasch
689fc58478 Merge branch 'trunk' into PCP-4242-non-acdc-country-onboarding 2025-02-24 16:14:34 +01:00
Daniel Dudzic
84854e737a
Clean up the Features store a bit and split the TabOverview into separate files 2025-02-24 15:46:34 +01:00