#Braunson - resend event

1 messages · Page 1 of 1 (latest)

obtuse stirrup
#

Can you show me the full CLI command that you are sending?

tardy vector
#

stripe events resend evt_3Km0miCOn1yQl7Wa1FPAJthR --webhook-endpoint=http://app.local/webhook/stripe/tutor

#

I know hosted endpoints give the option to resend from the Stripe UI on the website but since this is a local listener (forwarded webhook) that is not an option.

obtuse stirrup
#

The --webhook-endpoint arg is expecting an ID rather than a URL

#

I think if you don't specify an endpoint it defaults to the local endpoint on your machine

tardy vector
#

As it's a local listener (in test mode) there is no ID available.

obtuse stirrup
#

You can definitely send to a local endpoint

tardy vector
#

Just device name, version and status (on the Stripe UI/web)

obtuse stirrup
#

I was mostly clarifying that because the URL was in the command that was sent

#

Gotcha

tardy vector
#

Hmm looks like if I leave out the webhook-endpoint argument it works, I am actively forwarding so it must have defaulted to that endpoint.

#

Thanks @obtuse stirrup !

obtuse stirrup
#

Yep, confirmed in the docs

Resend an event to the CLI's local webhook endpoint. You must pass --webhook_endpoint=we_123456 to resend the event to a specific webhook endpoint.