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
Narek Zakarian
447666f9e0
Use the Payment setting model to check if the gateway is enabled.
...
Once the new settings module is permanently enabled, this model can be passed as a dependency to the styling helper class. For now, we must pass it this way to avoid errors when the new settings module is disabled.
2025-02-27 19:26:42 +04: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
Narek Zakarian
e913f60885
Use the Payment setting model to check if the venmo gateway is enabled.
...
Once the new settings module is permanently enabled, this model can be passed as a dependency to the styling helper class. For now, we must pass it this way to avoid errors when the new settings module is disabled.
2025-02-27 18:33:48 +04:00
Narek Zakarian
b74cfba72b
Pass the PaymentSettings model instance to styling helper.
...
Once the new settings module is permanently enabled, this model can be passed as a dependency to the styling helper class. For now, we must pass it this way to avoid errors when the new settings module is disabled.
2025-02-27 18:18:37 +04:00
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 Guasch
2e7b06e725
Merge trunk
2025-02-27 14:47:00 +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
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
Daniel Hüsken
4d68973408
Fix PHPCS
2025-02-26 15:54:03 +01:00
Narek Zakarian
4a3aaff0eb
Fix the naming of google and apple pay buttons mapping
2025-02-26 18:52:04 +04:00
Daniel Hüsken
4521fc8f52
Add phone number from Payer to check out without confirmation
2025-02-26 15:47:19 +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
Daniel Hüsken
8bac91c875
Add phone number from Payer to block checkout
2025-02-26 14:56:21 +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
Emili Castells
83f71937c7
Merge pull request #3157 from woocommerce/PCP-4262-pay-later-button-is-not-showing-when-selected-from-styling-screen
...
Pay Later button is not showing on frontend (4262)
2025-02-26 14:22:51 +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
Emili Castells
229f502d08
Merge pull request #3156 from woocommerce/PCP-4255-remove-ignored-parts-from-url-while-onboarding
...
Remove ignored parts from URL while onboarding (4255)
2025-02-26 12:29:14 +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 Hüsken
ab7f92cee0
Fix possibly null
2025-02-26 10:02:58 +01:00
Daniel Hüsken
85bcd0a454
add vault token to orders and check them for getting transaction id
2025-02-26 09:50:40 +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