Commit graph

1384 commits

Author SHA1 Message Date
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
ae2bbeb3ae
Merge pull request #3168 from woocommerce/PCP-4246-seller-country-empty-string-when-onboarding-with-app-credentials
Seller country empty string when onboarding with app credentials (4246)
2025-02-27 17:44:31 +01:00
Philipp Stracker
db3fa08e7e
Add a fallback value for the merchant country 2025-02-27 17:21:07 +01:00
Philipp Stracker
a1cbabf84c
🎨 Slightly improve code structure 2025-02-27 17:13:09 +01:00
Philipp Stracker
39394e864a
Finish new REST endpoint to provide real country 2025-02-27 17:11:39 +01:00
Philipp Stracker
61323d5cc5
♻️ Rename the main REST service method 2025-02-27 16:13:23 +01:00
Philipp Stracker
7ac0a4f62b
🔒️ Use WP authentication cookies for REST calls 2025-02-27 16:13:05 +01:00
Philipp Stracker
ffbe9c08d5
🔊 Add logging to the internal REST service 2025-02-27 16:08:55 +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 Guasch
aea44dc3f8 Fix typo 2025-02-27 12:54:04 +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
Philipp Stracker
57ee70acba
🔀 Merge branch 'trunk' 2025-02-27 11:33:30 +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
Philipp Stracker
4534167dae
Add JS config with settings URL 2025-02-26 10:56:14 +01:00
Philipp Stracker
6dd0034c0a
🚧 non-working version of internal REST service 2025-02-26 10:35:43 +01:00
Daniel Dudzic
6fc9aad4ea
Fix Psalm errors 2025-02-25 22:04:33 +01:00
Daniel Dudzic
1e7d0cfb68
Improve the warning in the new UI for multiple warnings 2025-02-25 21:59:42 +01:00
Philipp Stracker
79e4f9cdd4
♻️ Make the REST namespace a const value
We need to access the namespace from an external class; using a const makes this easy. The alternative would be passing a service-instance via DI, just to access the namespace
2025-02-25 17:22:59 +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
Philipp Stracker
65204a5003
💡 Add documentation on next steps 2025-02-24 18:36:20 +01:00
Philipp Stracker
73bad59a26
♻️ Extract seller-country detection to new method 2025-02-24 18:22:05 +01:00
Philipp Stracker
75f1ec3409
🎨 Code style changes 2025-02-24 18:14:28 +01:00
Philipp Stracker
720b6cf309
📝 Document authentication flow 2025-02-24 18:12:46 +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