Commit graph

8757 commits

Author SHA1 Message Date
Philipp Stracker
6a011160b1
♻️ Simplify PaymentRestEndpoint 2025-02-13 19:58:11 +01:00
Philipp Stracker
47fa01110c
Allow WC Gateway changes vis PaymentSettings 2025-02-13 19:57:26 +01:00
Philipp Stracker
e8cee60072
️ Introduce better WC_Gateway caching 2025-02-13 19:43:24 +01:00
Philipp Stracker
87318dd500
Allow toggling WC Gateways via PaymentSettings 2025-02-13 19:42:58 +01:00
Philipp Stracker
093e6ff1b2
♻️ Extend payment method definition response 2025-02-13 19:38:08 +01:00
Philipp Stracker
c854c8dceb
Start to implement payment method configuration 2025-02-13 19:37:42 +01:00
Philipp Stracker
b5d717cac0
♻️ Use new definition service in REST endpoint 2025-02-13 19:06:12 +01:00
Philipp Stracker
7908a1c56a
New definition service for payment method config 2025-02-13 19:05:26 +01:00
Philipp Stracker
645ac3da38
📝 Extend documentation 2025-02-13 17:36:54 +01:00
Philipp Stracker
9a4d79d135
📝 Additional documentatoin 2025-02-13 17:31:43 +01:00
Philipp Stracker
c272ba00ca
📝 Improve configuration documentation 2025-02-13 17:26:00 +01:00
Philipp Stracker
ec575f19d8
📝 Initial “default config” documentation 2025-02-13 16:52:07 +01:00
Narek Zakarian
897106499c
Fix the CS 2025-02-13 19:45:27 +04:00
Narek Zakarian
d25084aa00
Fix the CS 2025-02-13 19:44:57 +04:00
Narek Zakarian
f27339de0b
Fix the CS 2025-02-13 19:44:06 +04:00
Narek Zakarian
00486f4934
Implement a helper to map the settings tab. 2025-02-13 19:43:36 +04:00
Narek Zakarian
619c3b1467
Use a helper to map the settings tab. 2025-02-13 19:43:23 +04:00
Narek Zakarian
480dd8d8aa
Create a helper to map the settings tab.
This is necessary because we need to map the specific values too and not just the keys in some cases like for the 'subtotal_mismatch_behavior'
2025-02-13 19:42:57 +04:00
Philipp Stracker
3a096b832d
Trigger disconnect modal via URL hash 2025-02-13 16:32:18 +01:00
Philipp Stracker
12316b1022
Expose “setIsOpen” action for toggle hook 2025-02-13 16:30:53 +01:00
Philipp Stracker
d28f4f0784
♻️ Change hook props from object to argument list 2025-02-13 16:28:24 +01:00
Philipp Stracker
c6d7875fda
️ Add useCallback to make hook more stable 2025-02-13 16:24:54 +01:00
Philipp Stracker
4ecd07b453
🚚 Rename UI hook to make it more generic 2025-02-13 16:22:40 +01:00
Philipp Stracker
e8379f09e8
Default configuration for payment settings 2025-02-13 16:07:19 +01:00
Philipp Stracker
69c2e710fc
♻️ Restructure code slightly 2025-02-13 16:05:35 +01:00
Philipp Stracker
16ec522830
️ Memoize payment methods in styling tab 2025-02-13 15:27:29 +01:00
Philipp Stracker
30ff337c06
♻️ Reuse existing gateway-IDs for styling tab 2025-02-13 15:22:21 +01:00
Narek Zakarian
6814fd0a2e
Map the "Brand Name" and "Soft Descriptor" 2025-02-13 18:17:45 +04:00
Emili Castells Guasch
30dd654f83 Fix non wc gateway items null enabled key 2025-02-13 15:17:22 +01:00
Philipp Stracker
f7b2f97b89
💄 Improve visual hint for settings-reset toggle 2025-02-13 15:08:50 +01:00
Emili Castells
b74ad84030
Merge pull request #3099 from woocommerce/PCP-4214-the-styling-tab-data-isnt-showing-on-frontend
Force enabled the styling per location option (4214)
2025-02-13 15:02:04 +01:00
Philipp Stracker
769234ca15
Apply styling config after onboarding 2025-02-13 14:43:54 +01:00
Philipp Stracker
8c411c1969
♻️ Minor renaming of attributes 2025-02-13 14:27:59 +01:00
Philipp Stracker
7a5ac3caba
♻️ Move detection of “new merchant” into manager 2025-02-13 14:27:05 +01:00
Emili Castells
9cfb34ad1a
Merge pull request #3101 from woocommerce/PCP-4213-connect-settings-connect-the-other-payment-method-settings-with-the-frontend
Connect the "Other payment method settings" with the frontend (4213)
2025-02-13 13:44:36 +01:00
Narek Zakarian
83bd078eb9
Map the "Disable specific credit cards".
This will allow to bind the setting with the frontend.
2025-02-13 16:26:08 +04:00
Philipp Stracker
f8d5213b16
🎨 Apply phpcs styles 2025-02-12 21:14:52 +01:00
Philipp Stracker
275c28bfa3
👔 Apply plugin configuration after authentication 2025-02-12 21:14:26 +01:00
Philipp Stracker
6d11c8ef99
Add a plugin-config method to the data manager 2025-02-12 21:08:37 +01:00
Philipp Stracker
cda49d87e2
New DTO to define plugin setup configuration 2025-02-12 21:07:56 +01:00
Philipp Stracker
0728f80281
♻️ Refactor the settingsdata manager constructor 2025-02-12 21:07:21 +01:00
Philipp Stracker
34c67bb8d1
New onboarding flag for “setup-done” 2025-02-12 18:56:37 +01:00
Philipp Stracker
850bfb869a
♻️ Rename function argument 2025-02-12 18:55:58 +01:00
Emili Castells
6eb5e9f0d9
Merge pull request #3100 from woocommerce/PCP-4209-create-a-method-to-reset-db-settings
Create a method to reset DB settings (4209)
2025-02-12 17:18:25 +01:00
Philipp Stracker
cb218b69b6
🔀 Merge branch 'trunk' 2025-02-12 17:03:55 +01:00
Philipp Stracker
3d8121510a
Reset all settings on disconnect 2025-02-12 17:03:00 +01:00
Philipp Stracker
d8bd774744
Define new settings-data-manager service 2025-02-12 17:01:14 +01:00
Philipp Stracker
70722d1aca
🎨 Rename REST endpoint service 2025-02-12 17:00:36 +01:00
Philipp Stracker
a7ad31a35c
New data manager service to purge settings 2025-02-12 16:55:43 +01:00
Philipp Stracker
126ef5adf0
Add new method to delete settings from DB 2025-02-12 16:50:16 +01:00