Commit graph

7164 commits

Author SHA1 Message Date
Emili Castells
1849fb6f65
Merge pull request #3263 from woocommerce/PCP-4384-uncaught-type-error-cannot-set-properties-of-null-setting-checked
Simplify the new UI check for the onboarding.js file (4384)
2025-03-25 16:27:32 +01:00
Emili Castells
a4183bc398
Merge pull request #3265 from woocommerce/temp/branded-only
Temp/branded only
2025-03-25 14:56:35 +01:00
Emili Castells
854dc242c4
Merge pull request #3254 from woocommerce/PCP-4406-onboarding-with-personal-account-does-not-met-expected-result
Fix incorrect payment method configuration after onboarding with personal accounts (4406)
2025-03-25 09:21:03 +01:00
Daniel Dudzic
0b46928ac4
Fix syntax 2025-03-24 18:45:24 +01:00
Daniel Dudzic
529fa60712
Re-add ignore code comment 2025-03-24 18:38:27 +01:00
Daniel Dudzic
98800e5cf5
Replace static method call with filter in conditional 2025-03-24 18:33:47 +01:00
Philipp Stracker
2147ecd334
♻️ Make icon declaration more accurate 2025-03-24 17:54:45 +01:00
Philipp Stracker
383d907866
🔀 Merge branch 'trunk' 2025-03-24 17:45:03 +01:00
Philipp Stracker
4c8252051a
🐛 Correctly handle the learn more link 2025-03-24 17:43:43 +01:00
Philipp Stracker
9bfecdbfd6
Remove white-label methods in branded-mode 2025-03-24 17:34:17 +01:00
Philipp Stracker
f716d12578
♻️ Make payment method filter more declarative 2025-03-24 17:33:46 +01:00
Philipp Stracker
38179492cf
🐛 Fix copy-paste error 2025-03-24 17:13:48 +01:00
Philipp Stracker
f652adf4c8
🐛 Remove “Learn more” link for branded only 2025-03-24 17:13:00 +01:00
Philipp Stracker
7fa436cf58
♻️ Refactor the paymentConfig hook 2025-03-24 17:07:40 +01:00
Philipp Stracker
6a0168349b
Generate custom description for branded-only 2025-03-24 16:38:35 +01:00
Philipp Stracker
80711d6750
💡 Add some code documentation 2025-03-24 16:29:39 +01:00
Philipp Stracker
27c4e62261
Add the “Blik” icon to the welcome screen 2025-03-24 16:23:44 +01:00
Philipp Stracker
359a8df3f1
💄 Finally fix the connection button colors 2025-03-24 16:21:41 +01:00
Philipp Stracker
9ec98fe5f8
🧑‍💻 Add a browse flag to simulate branded-only
Committed, as it’s helful for initial QA and client testing. Will be removed in the future
2025-03-24 16:09:31 +01:00
Philipp Stracker
10e5588e06
♻️ More modular icon configuration
The new system matches the increasing complexity of the icon conditions and is easy to extend without bloating the payment configuration
2025-03-24 16:08:25 +01:00
Daniel Dudzic
5a0adf8ac8
Simplify the new UI check for the onboarding.js file 2025-03-24 15:43:17 +01:00
Philipp Stracker
61f24f7f84
Implement a “own brand only” flag
The flag is not used yet, but available to relevant components
2025-03-24 15:04:48 +01:00
Daniel Dudzic
8c6761159b
Fix Controlls typo 2025-03-24 14:53:14 +01:00
Philipp Stracker
6021ef6db2
♻️ Move icon-selection to the payment-config hook
Reason: Business logic (icon choice) should be kept in a single place, instead of letting the rendering component decide which icons to use.
2025-03-24 14:52:31 +01:00
Philipp Stracker
822086e64c
🐛 Fix js error caused by frozen object 2025-03-24 14:51:37 +01:00
Philipp Stracker
68b5999bc1
🚚 Unrelated: Move component to correct folder 2025-03-24 14:45:41 +01:00
Daniel Dudzic
61a265a1a4
Fix another batch of typos 2025-03-24 14:27:35 +01:00
Daniel Dudzic
9fb76a966a
Fix another batch of typos 2025-03-24 14:18:58 +01:00
Daniel Dudzic
1f83cbc108
Fix another batch of typos 2025-03-24 14:14:32 +01:00
Daniel Dudzic
a0a7d042b4
Fix first batch of typos 2025-03-24 14:09:19 +01:00
Emili Castells
3042e3d6b8
Merge pull request #3046 from woocommerce/PCP-4110-incorrect-subscription-cancellation-handling-with-pay-pal-subscriptions
incorrect subscription cancellation handling with pay pal subscriptions (4110)
2025-03-24 11:32:01 +01:00
Emili Castells
aa01b4bd55
Merge pull request #3258 from woocommerce/PCP-4389-fastlane-typo-in-welcome-screen-new-ui
Fix Fastlane typo (4389)
2025-03-24 11:30:57 +01:00
Emili Castells
5f8c2280fc
Merge pull request #3250 from woocommerce/PCP-4340-acdc-not-defaulting-on-for-acdc-eligible-user-after-onboarding
Fix post onboarding payment methods frontend/backend sync (4340)
2025-03-24 11:28:43 +01:00
Daniel Dudzic
fce19d20cf
Fix Fastlane typo 2025-03-24 10:39:32 +01:00
Emili Castells
c527c44f6c
Merge pull request #3195 from woocommerce/PCP-4219-security-deposits-plugin-causing-pay-pal-button-to-be-grayed-out-on-product-page
Security Deposits Plugin Causing PayPal Button to Be Grayed Out on Product Page (4219)
2025-03-24 09:49:31 +01:00
Emili Castells
3b48f8a70d
Merge pull request #3242 from woocommerce/PCP-4385-failed-to-fetch-onboarding-url-error-when-onboarding-with-no-rt-merchant-and-selecting-subscriptions-product
Do not add the capabilities if is not eligible for ACDC (4385)
2025-03-24 09:31:30 +01:00
Daniel Hüsken
64aefee245
Fix phpcs 2025-03-24 08:38:47 +01:00
Daniel Hüsken
8e088dc022
Fix changed environment container 2025-03-24 08:30:44 +01:00
Daniel Hüsken
35d6c7e913
Merge branch 'refs/heads/trunk' into PCP-4110-incorrect-subscription-cancellation-handling-with-pay-pal-subscriptions 2025-03-24 07:52:14 +01:00
Philipp Stracker
ba122714d8
♻️ Use the new Enum to access const values 2025-03-21 18:16:17 +01:00
Philipp Stracker
6c004cb283
🔀 Merge branch ‘temp/branded-only' 2025-03-21 18:04:17 +01:00
Philipp Stracker
c4a1217e6a
🔀 Merge branch ‘trunk' 2025-03-21 18:03:42 +01:00
Philipp Stracker
35d8233e06
🔒️ Enforce the “do not update” rule
Per definition, an installation path cannot be changed after it’s set. This change enforces the rule on the lowest level
2025-03-21 18:02:51 +01:00
Philipp Stracker
afbc79c0c5
Serve the installation path with the WooSettings
This change correctly populates the modified Redux reducer
2025-03-21 18:01:54 +01:00
Philipp Stracker
f96d52a3f9
💡 Add a todo-comment for later inspection 2025-03-21 17:54:12 +01:00
Philipp Stracker
e45ec0136c
🔒️ Remove “installation_path” from settings map
All values in this map can potentially be modifed via a REST call. The “installation_path” must be strictly kept read-only
2025-03-21 17:53:13 +01:00
Philipp Stracker
9aad1274bc
♻️ Move the branded-only-flag into wooSettings
The flag must not appear in the “defaultPersistent” object, as this would allow users to modify the state when saving settings!

Instead, the installation path moved into the read-only object “wooSettings”
2025-03-21 17:51:19 +01:00
Philipp Stracker
d1adbf7b46
♻️ Use the enum in the ActivationDetector 2025-03-21 17:23:02 +01:00
Philipp Stracker
480f3e1893
Add new enum for installation paths 2025-03-21 17:21:24 +01:00
Philipp Stracker
c1252b5390
💡 Fix typos in unrelated comments 2025-03-21 17:20:45 +01:00