I hereby claim:
- I am gempi on github.
- I am maefiu (https://keybase.io/maefiu) on keybase.
- I have a public key whose fingerprint is CA8D 6EC2 9B5C 2D88 B68B 4BD2 4012 99D6 B4B3 3DCA
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import { Handler } from "@netlify/functions"; | |
import crypto from "crypto"; | |
// Signing key from https://{{your-account}}.myshopify.com/admin/settings/notifications | |
const { SHOPIFY_WEBHOOK_SECRET } = process.env; | |
const handler: Handler = async (event) => { | |
const topic = event.headers["x-shopify-topic"]; | |
const shop = event.headers["x-shopify-shop-domain"]; | |
const hmac = event.headers["x-shopify-hmac-sha256"]; |