Open the free webhook tester →
Capture Shopify webhooks on a free URL and see the topic, shop domain, headers and JSON body, then check the HMAC with your secret — before you write a line of app code.
Test Shopify webhooks in 4 steps
- Open the webhook tester and copy your URL.
- For a store: Settings → Notifications → Webhooks → Create webhook, choose the event and JSON format. For an app: subscribe the topic with that URL in your app configuration or through the Admin API.
- Press Send test (store webhooks) or create a test order in a development store.
- Paste the signing secret (store webhooks) or your app's client secret into the tester and press Verify signature.
How Shopify signs webhooks
| Signature header | X-Shopify-Hmac-Sha256 |
|---|---|
| Signed string | the raw body |
| Algorithm | HMAC-SHA256, Base64 (not hex) |
| Other headers | X-Shopify-Topic, X-Shopify-Shop-Domain, X-Shopify-Webhook-Id, X-Shopify-API-Version |
// Node.js
const digest = crypto.createHmac('sha256', SHOPIFY_SECRET).update(rawBody).digest('base64');
const ok = crypto.timingSafeEqual(Buffer.from(digest), Buffer.from(req.get('X-Shopify-Hmac-Sha256') || ''));
Topics worth testing
orders/create,orders/paid,orders/cancelled,refunds/create.products/update,inventory_levels/update.app/uninstalled— clean up when a merchant removes your app.- Privacy topics every public app must handle:
customers/data_request,customers/redact,shop/redact.
Common problems
- HMAC mismatch: you compared hex with Base64, or verified a parsed body. Use the raw bytes.
- Slow answers: respond
200within a few seconds and process in the background, or Shopify retries and may remove the subscription after repeated failures. - Duplicates: store
X-Shopify-Webhook-Idand ignore repeats.
Other providers: Adyen · Checkout.com · GitHub · Stripe