I've been working on an app in dev store and noticed that my ngrok webhook (dev environment) works ok however once I change my calbackUrl to production name i. e. https://mysite... on the same website and reinstall the app (it reinstalls just fine, I see that webhook registration go through) the webhook no longer calls the callbackUrl.
Any ideas why is that or what I can do to try and figure this one out?
I suspect that shopify may remember the first registration somehow and never clear it, but I could be wrong.
Solved! Go to the solution
So I did a little test, my app was reinstalled with production setup, webhooks registered with https://my-site... I triggered an action that causes webhook to execute while running my dev environment locally and the dev environment received the webhook. Why and how I don't know? There seems to be a similar bug/issue with proxies :(
This is an accepted solution.
For those having a similar issue here's what I had to do: I had to import fullchain.pem to my server's config/options. To test you can see posted link in here: https://community.shopify.com/c/API-Announcements/Changes-to-Webhook-SSL-certificate-verification-on...
My certificate was working only for some browsers and I needed fullchain.pem to make it work everywhere.
Where can you see that the webhook is registered?
I am having the same issue. I am a ruby developer with a rails framework.
I already added the question. question link: https://community.shopify.com/c/Shopify-APIs-SDKs/Not-able-to-add-webhook-on-the-Heroku/m-p/705030#M...
I deployed my code on Heroku but my Shopify webhook is not working, In my local development the webhooks are working fine with NGROK. But on Heroku, it's not working.
So, I want to know how can you know that the webhook is registered and where can you find the registered webhooks?