Short answer
Souqly sends a signed message to your server for new, confirmed, shipped, delivered, cancelled and paid orders.
Step by step
- 1
Dashboard → Developer API → Webhooks → paste your https address.
- 2
Tick the events you want → Add webhook.
- 3
Press "Test" to send the latest order.
- 4
On your server check the X-Souqly-Signature header with the secret shown under the webhook.
Copy this code
$ok = hash_equals('sha256=' . hash_hmac('sha256', file_get_contents('php://input'), $secret), $_SERVER['HTTP_X_SOUQLY_SIGNATURE']);Did this guide help?Thanks! We read every answer.