stripe / stripe-cli

A command-line tool for Stripe
https://stripe.com/docs/stripe-cli
Apache License 2.0
1.57k stars 362 forks source link

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

Open kkoyot opened 1 week ago

kkoyot commented 1 week ago

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