Commit graph

8734 commits

Author SHA1 Message Date
Narek Zakarian
3e5f151bbb
Map the "Order intent" 2025-02-17 17:31:56 +04:00
Narek Zakarian
7a03bda2ac
Map the "Invoice prefix" 2025-02-17 17:18:10 +04:00
Emili Castells
be6cbd465f
Merge pull request #3111 from woocommerce/PCP-4192-new-ux-defaults-testing
Pcp 4192 new ux defaults testing
2025-02-14 14:47:19 +01:00
Philipp Stracker
1d5ef6d58b
💡 Update a code comment 2025-02-14 13:14:18 +01:00
Philipp Stracker
68b924f4e3
Replace dummy flag with real merchant type 2025-02-14 13:13:43 +01:00
Philipp Stracker
09bbcb0b3c
Replace dummy value with real onboarding-flag 2025-02-14 13:12:21 +01:00
Philipp Stracker
6061d9e20e
New enum to define product choices 2025-02-14 13:11:58 +01:00
Philipp Stracker
0e0a73db11
Replace dummy flag with real user choice 2025-02-14 13:06:33 +01:00
Philipp Stracker
37e442eb1e
♻️ Rename onboarding prop to match its meaning 2025-02-14 13:05:01 +01:00
Philipp Stracker
f958696c5f
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-settings/src/Endpoint/PaymentRestEndpoint.php
2025-02-14 12:55:57 +01:00
Philipp Stracker
41a07b47dc
Initialize Pay Later Messaging after onboarding 2025-02-14 12:53:12 +01:00
Philipp Stracker
1c25075ea4
Draft a paylater messaging data service 2025-02-14 12:52:35 +01:00
Philipp Stracker
3fb710f174
🔥 Remove dev-comments 2025-02-14 12:31:05 +01:00
Philipp Stracker
67e7703e1f
Finish the payment method configuraton 2025-02-14 12:30:25 +01:00
Philipp Stracker
b6024dc815
Conditionally enable payment methods 2025-02-14 12:22:41 +01:00
Philipp Stracker
0bb609349c
♻️ Add option to disable form fields for methods 2025-02-14 12:20:01 +01:00
Philipp Stracker
4d2f9d2042
♻️ Refactor PaymentMethodsDefinition structure 2025-02-14 12:14:38 +01:00
Emili Castells
ee45ca89ea
Merge pull request #3103 from woocommerce/fix/payment-method-enabled-for-non-wc-gateway--items
Fix non wc gateway items null enabled key
2025-02-14 12:06:32 +01:00
Emili Castells
27ceb6a3a9
Merge pull request #3109 from woocommerce/PCP-4212-connect-settings-connect-the-pay-pal-settings-with-the-frontend
Connect the PayPal settings with the frontend (4212)
2025-02-14 11:57:14 +01:00
Philipp Stracker
4073f84454
🐛 Fix incorrect method-status response 2025-02-14 11:11:33 +01:00
Philipp Stracker
62e1f4b9ac
♻️ Streamline the PaymentMethodDefinition logic 2025-02-14 11:08:02 +01:00
Narek Zakarian
9c58620ad6
Map the "Button Language" 2025-02-14 13:21:46 +04:00
Narek Zakarian
935f1a5a42
Adjust the comment about storing the button language 2025-02-14 13:21:31 +04:00
Narek Zakarian
aa40627840
Store the language locale instead of the language code. 2025-02-14 13:19:12 +04:00
Narek Zakarian
47f61cb543
Map the "Instant payments only" & thee "Landing Page" option.
Currently, the "Instant payments only" option is not saved in DB so probably will be needed to update the new key later
2025-02-14 12:55:26 +04:00
Philipp Stracker
b666df96a2
🔀 Merge branch 'trunk' 2025-02-13 19:59:22 +01:00
Philipp Stracker
32af11f94c
♻️ Default conditions: Use new methods 2025-02-13 19:58:47 +01:00
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