Skip to content

Support new shopify-* webhook header format - #1437

Merged
lizkenyon merged 1 commit into
mainfrom
liz/support-new-webhook-header-format
Mar 11, 2026
Merged

Support new shopify-* webhook header format#1437
lizkenyon merged 1 commit into
mainfrom
liz/support-new-webhook-header-format

Conversation

@lizkenyon

@lizkenyonlizkenyon commented Feb 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update Webhooks::Request to accept both the new shopify-* header format (e.g., shopify-hmac-sha256) and the legacy x-shopify-* format
  • New format takes precedence when both headers are present
  • Header validation now checks for either format before raising InvalidWebhookError

Update Webhooks::Request to accept both the new `shopify-*` header
format (e.g., `shopify-hmac-sha256`) and the legacy `x-shopify-*`
format, with the new format taking precedence when both are present.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@lizkenyon
lizkenyon requested a review from a team as a code ownerFebruary 10, 2026 23:08
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@lizkenyon@byrichardpowell