Help Needed: Implementing HMAC Signature Verification for Webhooks in a Remix App

Sergio05
Shopify Partner
3 0 0

Hello!

 

I am trying to write a simple app but cannot overcome the error "Implement an HMAC signature to verify webhooks" during an automated check for common errors in app submission.

 

My app is just a basic Remix app template from the docs. I know how to implement this using Express. However, in Remix, I see that I can't use webhooks.jsx to add a check because this code only takes control from shopify.server.js when the webhook topic is known (like APP_UNINSTALLED). However, the webhook topic value is unknown when testing from Shopify.

 

My full code is at https://github.com/sergio-nezhigay/app06052

Replies 0 (0)