I created a shopify remix APP. I have created on API URL /api/shipping-rates.
And registered this API URL in shipping rates carrier in shopify admin.
Whenerver on checkout page address updated by the user, this API url fired and i am returning new shipping rates.
Before sending the shipping rates, i want to verify the HMAC code returned by shopify in header. I am generating the HMAC code based on response of shopify and shopify secret key. But generated HMAC code is different than received HMAC code.
Can you please help me as soon as possible?