Skip to content

Support new shopify-* webhook header format#1437

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

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

Conversation

@lizkenyon
Copy link
Copy Markdown
Contributor

@lizkenyon lizkenyon commented Feb 10, 2026

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 owner February 10, 2026 23:08
@lizkenyon lizkenyon merged commit 4d9f1fa into main Mar 11, 2026
7 of 13 checks passed
@lizkenyon lizkenyon deleted the liz/support-new-webhook-header-format branch March 11, 2026 19:42
Sign up for free to 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