Liquid, JavaScript, themes, sales channels
Hello, when trying to listen to a webhook using the node template configuration, I always get Failed to process webhook: Error: Could not validate request for topic checkouts/update. Webhook configuration I'm using is:
app.post(
shopify.config.webhooks.path,
// shopify.processWebhooks({ webhookHandlers: GDPRWebhookHandlers })
shopify.processWebhooks({ webhookHandlers: webhookHandlerIndex })
)
And the webhookHandlerIndex is:
CHECKOUTS_UPDATE: {
deliveryMethod: DeliveryMethod.Http,
callbackUrl: "/api/webhooks",
callback: async (topic, shop, body, webhookId) => {
const payload = JSON.parse(body);
console.log(payload)
}
}
Which is the example configuration Shopify provides for mandatory GDPR webhooks, did anyone face this issue and solved it? how?
Facing the same issue if someone can help
I am facing the same issue. Someone from shopify, please help.
User | RANK |
---|---|
37 | |
29 | |
12 | |
12 | |
8 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023