Unable to verify shopify hmac

Rajasekar_Rajen
Shopify Partner
3 0 0

I am trying to create a public app in Shopify. I can set the scopes required our app. During installation it asks for shopify verification. I have referred this document https://shopify.dev/tutorials/authenticate-with-oauth#verification. I have passed message as code=%code-from-shopify%&shop=%shop.myshopify.com%&state=%state-from-shopify%&timestamp=%timestamp-from-shopify% with secret as Shopify app's secret key but it never match with hmac present in url as a parameter.

I have created an app 3 years ago, it is working fine as I mentioned above but when I created an app 9 days ago is not working and the secret key for this new app is starting as shpss_

How do I fix this?

0 Likes
sivaram636
Shopify Partner
7 0 0
Am using nodejs to build my apps. I have used https://www.npmjs.com/package/valid-shopify-request node module to achieve this.
0 Likes