Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hello all,
I leveraged the React & Node tutorial to get started with building my first Shopify app. I'm currently subscribed to the ORDERS_PAID Webhook & since I see that the Webhook is being sent more than one time for a single order, I'm clearly not responding to it properly.
As you can see from my code below, I'm using the Koa-router & @Shopify/koa-shopify-webhooks NPM modules. Does anyone know how to properly respond? Both ctx.status = 200 & ctx.res.statusCode = 200 did not stop the Webhook from being sent more than once.
Thanks & Stay Safe!
KJ Garrett
I think I solved the issue with:
ctx.response.status = 200;
Please let me know if anyone has any awesome resources on Next.js or Node's Koa Framework outside of their respective documentation.
Thanks!
Hi KJGARRETT14,
Have you implemented webhooks for GDPR complaint ? I saw that we don't need to register
What would be the PHP equivalent of this?