Dokumentiere Shopify-Webhook-Tests und Endpunkt
This commit is contained in:
+4
@@ -39,6 +39,10 @@ Read sources:
|
|||||||
- Shopify-API nur read-only, sofern für die Ereignisidentität erforderlich
|
- Shopify-API nur read-only, sofern für die Ereignisidentität erforderlich
|
||||||
- eigene technische Importzustandsdaten
|
- eigene technische Importzustandsdaten
|
||||||
|
|
||||||
|
Public endpoint:
|
||||||
|
|
||||||
|
- `POST https://erpnaurua.imhochrain.ch/api/shopify/webhooks.php`
|
||||||
|
|
||||||
Write targets:
|
Write targets:
|
||||||
|
|
||||||
- technische Importzustandsdaten im owning Submodul
|
- technische Importzustandsdaten im owning Submodul
|
||||||
|
|||||||
@@ -146,12 +146,17 @@ Fachliche Übergabe: `erp/bestellungen`
|
|||||||
- [ ] Separate read-only Shopify-Integration für den laufenden ERP-Sync konfigurieren.
|
- [ ] Separate read-only Shopify-Integration für den laufenden ERP-Sync konfigurieren.
|
||||||
- [x] Separate Shopify-App `Naurua ERP Order Sync` im Dev Dashboard angelegt.
|
- [x] Separate Shopify-App `Naurua ERP Order Sync` im Dev Dashboard angelegt.
|
||||||
- [x] Read-only-Bereiche im App-Entwurf hinterlegt: `read_orders`, `read_all_orders`, `read_customers`, `read_products`.
|
- [x] Read-only-Bereiche im App-Entwurf hinterlegt: `read_orders`, `read_all_orders`, `read_customers`, `read_products`.
|
||||||
- [x] App-Version bewusst noch nicht veröffentlicht, da App-/Callback-URL noch nicht implementiert ist.
|
- [ ] App-Version veröffentlichen, sobald Callback- und Webhook-Registrierung vollständig sind.
|
||||||
- [x] App-URL festgelegt und im Entwurf hinterlegt: `https://erpnaurua.imhochrain.ch/`.
|
- [x] App-URL festgelegt und im Entwurf hinterlegt: `https://erpnaurua.imhochrain.ch/`.
|
||||||
- [x] OAuth-Callback-URL festgelegt und im Entwurf hinterlegt: `https://erpnaurua.imhochrain.ch/api/shopify/oauth/callback`.
|
- [x] OAuth-Callback-URL im Entwurf auf `.php` korrigiert: `https://erpnaurua.imhochrain.ch/api/shopify/oauth/callback.php`.
|
||||||
- [ ] Webhook-URL implementieren und registrieren: `https://erpnaurua.imhochrain.ch/api/shopify/webhooks`.
|
- [x] Webhook-URL implementiert: `https://erpnaurua.imhochrain.ch/api/shopify/webhooks.php`.
|
||||||
|
- [ ] Webhook-URL in Shopify registrieren.
|
||||||
- [x] Belegt: Root-Domain ist erreichbar.
|
- [x] Belegt: Root-Domain ist erreichbar.
|
||||||
- [x] Belegt: OAuth-Callback- und Webhook-Pfade liefern aktuell `404`, da sie noch nicht implementiert sind.
|
- [x] Belegt: `POST /api/shopify/webhooks.php` liefert bei ungültiger HMAC `401`.
|
||||||
|
- [x] Gültige HMAC auf DEV mit temporärem Test-Secret akzeptiert (`200 accepted`).
|
||||||
|
- [x] Doppelte Webhook-ID auf DEV idempotent als `200 duplicate` bestätigt.
|
||||||
|
- [x] Test-Events und Test-Prozessläufe nach dem Test vollständig gelöscht.
|
||||||
|
- [x] Test-Secret nach dem Test aus DEV entfernt.
|
||||||
- [ ] Verbindliche Shopify-API-Version festlegen.
|
- [ ] Verbindliche Shopify-API-Version festlegen.
|
||||||
- [ ] Zugangsdaten sicher in DEV-Konfiguration hinterlegen.
|
- [ ] Zugangsdaten sicher in DEV-Konfiguration hinterlegen.
|
||||||
- [ ] GraphQL-Abfragen für Initialbestand definieren.
|
- [ ] GraphQL-Abfragen für Initialbestand definieren.
|
||||||
|
|||||||
Reference in New Issue
Block a user