Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to define in a delay in webhook delivery #1069

Open
that-guy-iain opened this issue May 2, 2023 · 0 comments
Open

Ability to define in a delay in webhook delivery #1069

that-guy-iain opened this issue May 2, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@that-guy-iain
Copy link

Problem

Test a workflow that would never happen within ms of each other. For example, charge.dispute.created causes race conditions because the charge.succeed event is still being processed when the charge.dispute.created event is delivered and started to be processed.

There are other events that have this issue.

Feature

The ability to have a flag or config that allows for defining of a delay in delivery of the webhook to the endpoint when using the listen command

Examples

stripe listen --skip-verify --forward-to localhost/webhook --delay 1 would add a delay of 1 second from the cli receiving the webhook to delivering it to the endpoint.

@that-guy-iain that-guy-iain added the enhancement New feature or request label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant