Commit graph

479 commits

Author SHA1 Message Date
Philipp Stracker
eee97757c3
♻️ Update merchant data instead of replacing it 2025-01-09 12:07:09 +01:00
Philipp Stracker
a9c2a8e8fe
Sync onboarding completion with connection state 2025-01-08 17:49:04 +01:00
Philipp Stracker
b3e766d08a
♻️ Move OAuth logic from Listner to Auth-Manager 2025-01-08 17:48:18 +01:00
Philipp Stracker
19a7986b56
♻️ Align function naming in PHP with JS 2025-01-08 17:46:26 +01:00
Philipp Stracker
ed8ae81297
🎨 Minor code improvements 2025-01-08 17:20:12 +01:00
Philipp Stracker
8ce7d6ca99
🚚 Rename ConnectionManager class 2025-01-08 17:19:45 +01:00
Philipp Stracker
67a6d9e765
♻️ Adjust “webhooks” property in Redux state 2025-01-08 16:52:21 +01:00
Philipp Stracker
6591889079
🚧 Refactor the eligible-feature REST response 2025-01-08 16:51:04 +01:00
Philipp Stracker
33bd9ecce8
Update merchant email after OAuth completion 2025-01-08 16:34:42 +01:00
Philipp Stracker
08ff9e7380
🏗️ Introduce a DTO to hold merchent credentials 2025-01-08 16:15:49 +01:00
Philipp Stracker
bd7bbb36b2
♻️ Prevent upading clientId/secret via REST 2025-01-08 15:19:50 +01:00
Philipp Stracker
6167955374
🔥 Remove setters for clientId/secret
Those values should only be set by PHP after validating some authentication details
2025-01-08 15:10:25 +01:00
Philipp Stracker
0752436f00
♻️ Split the advanced form into 2 sub-components 2025-01-08 15:01:47 +01:00
Philipp Stracker
54b174e447
♻️ Decouple API authentication from Redux 2025-01-08 15:01:40 +01:00
Philipp Stracker
1bf6e488a3
♻️ Apply more accurate authentication naming
- “authenticate” instead of “connect”
- “withCredentials” instead of “direct”
- “OAuth” instead of “ISU”
2025-01-08 14:59:59 +01:00
Philipp Stracker
ac68aa7968
New Redux properties for manual connection data 2025-01-08 14:41:27 +01:00
Philipp Stracker
d4fbde1b13
🚧 Clean up WIP code in ConnectionManager 2025-01-08 14:39:06 +01:00
Philipp Stracker
650586ce7c
🐛 Fix the authentication bug! 2025-01-08 13:21:46 +01:00
Philipp Stracker
4e7d89fd26
💡 Improve a code comment 2025-01-08 13:21:30 +01:00
Philipp Stracker
ca2aa4eff1
🩹 Add missing dependency to useCallback 2025-01-07 17:29:53 +01:00
Philipp Stracker
b86ae2b1c7
📝 Add notes on WIP 2025-01-03 18:31:52 +01:00
Philipp Stracker
e4c80d7dbc
Prepare authentication hooks 2025-01-03 18:26:01 +01:00
Philipp Stracker
3f691bea01
♻️ Use EnvironmentConfig in ConnectionUrlGenerator 2025-01-03 13:52:42 +01:00
Philipp Stracker
a1f80f1d3d
♻️ Refactor to use the EnvironmentConfig 2025-01-03 13:11:41 +01:00
Philipp Stracker
9a84c7b4a9
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-settings/resources/js/data/common/action-types.js
#	modules/ppcp-settings/resources/js/data/common/controls.js
#	modules/ppcp-settings/resources/js/data/common/hooks.js
#	modules/ppcp-settings/services.php
2025-01-03 11:03:18 +01:00
Philipp Stracker
e2b169aff4
🚧 Authentication progress, still non-functional 2025-01-02 20:40:11 +01:00
Philipp Stracker
67a3fe034b
🐛 Fix REST argument sanitation 2025-01-02 20:39:16 +01:00
Philipp Stracker
0cc451b66b
🚧 Start with server-side ISU authentication 2025-01-02 18:54:03 +01:00
Philipp Stracker
143bcd75a1
💡 Add comments to document auth flow 2025-01-02 18:52:47 +01:00
Philipp Stracker
de3ab2c479
💬 Add missing prefix to an unrelated action-type 2025-01-02 18:22:53 +01:00
Philipp Stracker
0d5832aa8b
Add React logic for final ISU authentication 2025-01-02 18:22:09 +01:00
Philipp Stracker
1246a02f07
♻️ Adjust naming to new “authentication” pattern 2025-01-02 18:19:41 +01:00
Philipp Stracker
69d169533d
♻️ Unify function- and hook names 2025-01-02 17:59:33 +01:00
Philipp Stracker
6052756268
🚧 Prepare the ISU login completion JS handler 2025-01-02 17:50:36 +01:00
Philipp Stracker
084327c635
♻️ Rename ambgious hooks
Two different hooks and one store property shared the same name. This commit resolves the ambiguity and makes all names unique
2025-01-02 17:43:02 +01:00
Philipp Stracker
565ee96bb6
🚧 First steps for the final ISU authentication 2025-01-02 14:43:33 +01:00
Philipp Stracker
ef0e7e756c
♻️ Rename REST endpoint for manual login 2025-01-02 14:43:06 +01:00
Philipp Stracker
ff1df84ada
♻️ Remove serialization logic in manual login REST 2025-01-02 14:33:42 +01:00
Philipp Stracker
5195748e76
♻️ Slightly simplify REST code 2025-01-02 12:58:33 +01:00
Philipp Stracker
f73f1808a7
💡 Explain diff between LoginLink & Authentication 2025-01-02 12:33:58 +01:00
Philipp Stracker
f9809bdc53
🚧 Rename ConnectManual endpoint
This is a preparation to include the UI login authentication in the same endpoint as the manual connection logic
2025-01-02 12:26:40 +01:00
Narek Zakarian
38e268c68f
Merge pull request #2940 from woocommerce/PCP-3930-Make-the-webhook-resubscribe/simulate-logic-usable-in-React-application 2024-12-24 17:47:57 +04:00
Narek Zakarian
4f2cf548e8
Merge pull request #2944 from woocommerce/PCP-4023-adjust-features-button-styles 2024-12-24 11:42:46 +04:00
Narek Zakarian
c85cd98347
Merge pull request #2943 from woocommerce/fix/PCP-4034-update-pricing-badges 2024-12-24 11:38:46 +04:00
inpsyde-maticluznar
a78e11c8e8
Move icons to constants 2024-12-23 07:43:43 +01:00
Philipp Stracker
69f6cc2e73
First steps to implement merchant authentication 2024-12-20 16:09:54 +01:00
inpsyde-maticluznar
eeb0c63200
Change notices logic 2024-12-20 14:08:32 +01:00
Philipp Stracker
62dda0da3c
Add Vaulting to onboarding products 2024-12-20 13:57:49 +01:00
Philipp Stracker
5b80e00c54
♻️ Simplify the ConnectionButton code 2024-12-20 13:54:46 +01:00
Philipp Stracker
2b5555c962
Add the @wordpress/icons dependency 2024-12-20 13:54:25 +01:00