stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

"Resend" for webhook events doesn't get forwarded to local listener

Open kkoyot opened this issue 1 year ago • 1 comments

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

kkoyot avatar Jun 19 '24 09:06 kkoyot

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

uberubert avatar Apr 12 '25 15:04 uberubert

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 avatar Aug 22 '25 21:08 linyh0207

@linyh0207 thanks, that is a saver, after some hours of debug that worked for me too

albanx avatar Oct 12 '25 19:10 albanx