Skip to content

Allow the webhook tolerance to be configured via an environment variable#366

Open
gddotorg wants to merge 1 commit into
craftcms:5.xfrom
gddotorg:feature-webhook-tolerence
Open

Allow the webhook tolerance to be configured via an environment variable#366
gddotorg wants to merge 1 commit into
craftcms:5.xfrom
gddotorg:feature-webhook-tolerence

Conversation

@gddotorg

Copy link
Copy Markdown

Description

We have a client where all Stripe subscriptions are renewed at the start of the new year. As a result, Craft receives a very large number of webhooks from Stripe at that time (over 200k). To prevent potential downtime, we’ve added a external queue in front of the Craft system that accepts the webhooks and forwards them to the CMS in batches. However, we ran into an issue where the header tolerance had expired, preventing the webhook from being processed. Therefore, I’d like to suggest making the tolerance value configurable via env variable.

@gddotorg gddotorg requested a review from a team as a code owner April 14, 2026 12:46
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.

1 participant