Topics covering webhook creation & management, event handling, Pub/Sub, and Eventbridge, in Shopify apps.
Hello, I am currently using flask to build a basic web app to handle webhooks sent from my shop.
When hosting my flask app I am setting the host = '0.0.0.0' to allow connections from across the network.
The problem I'm having is when I try to set the URL for these webhooks on Shopify I receive an error that the address is not allowed.
Here is what the webhook url looks like
https://192.111.1.222:5000/neworder
I am also using vs code in case anyone knows of an extension that will assist me in this issue,
Thanks!
Hi @JoeV2 👋
As noted in the webhook limitation docs here, a localhost URL is not a HTTPS endpoint to receive webhooks. One option would be a tool like ngrok to create a secure tunnel to your localhost.
Hope that helps!
Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog