Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Automated webhook error failing on HMAC verification on mandatory webhooks

Automated webhook error failing on HMAC verification on mandatory webhooks

AhmedMontasser
Shopify Partner
4 0 7

I believe I have configured my mandatory webhooks correctly. But the automated webhook HMAC signature verification which is done when submitting an app for the store listing review keeps failing for me.

 

I have verified that the webhook works as expected in two ways:

1- When I install my app in a test store, and uninstall it, after around 2 days I get a call to my webhook for data removal, as expected. It is processed normally and returns a 200 as documented.

2- If I call the webhook e.g. using cURL with an invalid payload containing a wrong signature, I get a 401 as expected.

3- I can see my webserver logs for both cases.

 

However, I can't see any logs when running the automated Shopify verification. It simply fails after 2-4mins with no specific error or anything. So I can't troubleshoot what's happening, as it seems that Shopify is calling my webhooks with no data. How exactly is this verification being done then?

Screen Shot 2024-10-17 at 10.27.41 AM.pngScreen Shot 2024-10-17 at 10.27.50 AM.png

Replies 0 (0)