New Shopify Certification now available: Liquid Storefronts for Theme Developers

Shopify webhook subscription working only on app install

Prudentt
Shopify Partner
51 7 11

I am creating a shopify app and implemented a webhook subscription of orders/create (Docs).

 

The problem is that i have to run the app, uninstall it, install it again (i still have it unlisted), and then the webhook subscription works. If i have the app installed in my development store, and then i run it, then none of the webhook calls reach my local app, and count as failed in my dashboard.

 

Now i got an email from shopify saying that if i the webhook calls keep failing they will delete the subscriptions:

Screenshot_20230808-080530.png

 

Screenshot_20230808-080733.png

Anyone knows why this happens? I am using the nodejs shopify app builder that i saw in the docs (npm init @Shopify/app@latest)

Replies 0 (0)