stripe-cli
stripe-cli copied to clipboard
"Resend" for webhook events doesn't get forwarded to local listener
Issue
During local testing, sometimes I forget to turn on listening for webhooks. Because of that, some events are not triggered within the system, so instead of redoing the whole test I want to just resend the event from Stripe and have it forwarded to the local listener. The problem is that if I go to the event and hit "Resend" button, it never gets sent down to the listener. What's worse, for successful webhook delivery in "Webhook attempts" sections, only the remote server responses are listed, the CLI responses are empty, despite seeing clearly in the console that there was a 200 for a webhook
Expected Behavior
Clicking "Resend" should behave just like the first time an event webhook is being fired.
Steps to reproduce
Turn on stripe CLI and click "Resend" on any event
Traceback
no output
Environment
WSL Ubuntu 22.04
Almost a year later, any updates on this?
I'm seeing the same behaviour:
- Start CLI with listen and forwarding to localhost api
- Perform a checkout to completion (in sandbox)
- Observe the webhook reaching the localhost api just fine. CLI reports the events.
- Open the stripe dashboard and find the webhook
- Click "Resend", observe the webhook being sent once more
- Observe nothing happening in the CLI, no webhook reaching the localhost api
I came across the same issue. The workaround was to run the stripe events resend evt_123 CLI command to resend the event so it would appear in the local listener.
@linyh0207 thanks, that is a saver, after some hours of debug that worked for me too