Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Webhook doesn't work after deployment

Webhook doesn't work after deployment

DukeD
Shopify Partner
1 0 1

I have a Shopify Remix application (created by template) and it has been subscribed to two topics: APP_UNINSTALLED and ORDERS_PAID.

 

During my local testing webhook works. I've tested it by performing the actual Order Purchase on dev store.

 

After I deployed my app to the server and replace the app url in in the partners/configuration page, webhooks are not send anymore.

 

I've tested it by triggering webhook using `npm run shopify webhook trigger` and it works, which means that everything's fine with my webhooks.

 

The problem is that webhooks are not send when perform actual event on dev store. Seems like webhoohs are not successfully registered. What could be an issue of this? I also tried uninstall/install the app.

 

Again, the same code works locally. 

All env vars are present on server as well.

 

Additionally, I was facing the same issue during local development and reseting helped: `npm run dev -- --reset`

 

Is there anything I can do for my app running on server?

Replies 0 (0)