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)