Webhook doesn't work when the callback url is in Hydrogen

Basically what the title says, if i create a webhook in Settings → Notification → Webhooks (for example Order created topic) and try to either test it, or to create an actual order, i do not get anything on the Hydrogen “Runtime logs”, not the error, not the request nothing.

If i change the callback url to be on app hosted on Vercel or anywhere else everything works fine.

I thought maybe i need to create webhook different way so i tried that as well, i tried to create a webhook in Graphiql admin app, as well as inside the hydrogen (basically i create a custom app), and nothing seems to be working.

Are webhooks forbiden from the hydrogen? Or maybe i am missing something

Hey @Andrija_Obradovic :waving_hand: - just out of curiosity, are you having the webhook callback URL point back to your Hydrogen instance itself? It should generally be pointed to a webhook listening server that’s external to Shopify.

If you’re hosting Hydrogen through Oxygen (and it’s hosted on Shopify), this could be why you’re not seeing the webhooks be returned to your listening server. You should be pointing your webhook callback URL to an external listening server (not on Shopify’s domains)

If you are pointing the webhook to an external server though, just let me know and I can take a closer look into this - hope this helps!