Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024