Setup
Open notification settings
In your Shopify admin, go to Settings → Notifications, then scroll down to Webhooks.
Select an event
Choose the event you want to capture from the Event dropdown (for example,
Order creation).Paste your Hookdrop URL
Enter your capture URL in the URL field:Replace
{your-token} with the token shown on your Hookdrop dashboard.Shopify requires you to create one webhook per event type. Repeat the steps above for each event you want to capture.
Common events
| Event | When it fires |
|---|---|
orders/create | A new order is placed |
orders/paid | An order payment completes |
fulfillments/create | An order is fulfilled |
products/create | A new product is created |
customers/create | A new customer registers |
Signature verification
Shopify signs every webhook request with anX-Shopify-Hmac-SHA256 header containing a Base64-encoded HMAC SHA-256 digest. Verify it in your handler before processing any event.
shopify-webhook.ts
Testing locally
Next: Paystack
Set up Hookdrop to capture Paystack payment and subscription events.
