My webhooks does not work on heroku

rickmaxg3
New Member
2 0 0

I have a Rails Shopify App, not embedded.
If I use https://539135b3fake.ngrok.io the webhooks it work fine, but if I use
https://mydomain.herokuapp.com it does not work.
When i use ngrok host, webhooks arrive normally on my server.
When i use heroku host, do not arrive on my server and dont arrive failing webhook mail.

0 Likes
rickmaxg3
New Member
2 0 0

I found the root problem, according with this documentation:
https://shopify.dev/tutorials/manage-webhooks
The following URLS do not work as endpoints for webhooks:

  • Localhost
  • Any URL ending in the word "internal". For example, thisshop.com/internal
  • Domains like www.example.com
  • Shopify domains such as shopify.com and myshopify.com

In this case my domain herokuapp.com is not accepted

0 Likes