Narek Zakarian
e83dba1506
Pass the PaymentSettings model instance.
...
We need to pass the PaymentSettings model instance to use it in some helpers. Once the new settings module is permanently enabled, this model can be passed as a dependency to the appropriate helper classes. For now, we must pass it this way to avoid errors when the new settings module is disabled.
2025-02-27 18:17:37 +04: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
Emili Castells
22c6b235ef
Merge pull request #3166 from woocommerce/PCP-4223-onboarding-fails-in-some-browsers
...
Onboarding fails in some browsers (4223)
2025-02-27 11:21:00 +01:00
Emili Castells
4ca46e1b75
Merge pull request #3161 from woocommerce/PCP-4260-google-and-apple-pay-buttons
...
Fix the naming of google and apple pay buttons mapping (4260)
2025-02-27 11:15: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
Narek Zakarian
4a3aaff0eb
Fix the naming of google and apple pay buttons mapping
2025-02-26 18:52:04 +04: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
Narek Zakarian
7e1277e4ff
Fix the name of 'pay later' check for mapped locations
2025-02-26 17:00:55 +04:00
Narek Zakarian
26bc7ce02c
Use the new button enabled mapping function.
2025-02-26 17:00:10 +04:00
Narek Zakarian
48898edcd9
Map the pay_later_button_enabled
2025-02-26 16:59:29 +04:00
Narek Zakarian
0a0603af51
Add predefined list of button names to check for enabled/disabled state
2025-02-26 16:59:09 +04:00
Narek Zakarian
b2d870bdca
Abstract the method to check if given button is enabled
...
Now any button name (form predefined list) can be passed to a mapping function to check if it is enabled for current context
2025-02-26 16:58:17 +04: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
Emili Castells
47256fbcfb
Merge pull request #3115 from woocommerce/PCP-4210-features-refactor-to-use-rest-endpoints
...
Features: refactor to use rest endpoints (4210)
2025-02-24 16:35:52 +01:00
Emili Castells
88c3bea931
Merge pull request #3145 from woocommerce/PCP-4250-fix-php-notice-load-textdomain-just-in-time
...
Fix PHP notice about "_load_textdomain_just_in_time" (4250)
2025-02-24 16:34:45 +01:00
Daniel Dudzic
e72b7deb09
Additional fixes. Fix logic for Google Pay and Apple Pay
2025-02-24 16:23:37 +01:00