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.

Hmac header changed?

Hmac header changed?

ewd910
Shopify Partner
6 0 1

Hi all,

we've had webhooks set up on our site for a few years now without issue. However when we upgraded our services to PHP 8.1 from PHP 8 our webhooks stopped validating. Upon investigation it seems that we're now getting the

X-Shopify-Hmac-SHA256

header rather than the 

HTTP_X_SHOPIFY_HMAC_SHA256

However according to this doc - https://shopify.dev/docs/apps/webhooks/configuration/https#step-5-verify-the-webhook we should still be getting the uppercase / underscore version. Is this an intentional change or a known issue?

Replies 0 (0)