#sasac-resend-event

1 messages · Page 1 of 1 (latest)

livid island
abstract schooner
#

Does this work in prod?

#

Resend an event to the CLI's local webhook endpoint.

livid island
#

it does, have you tried? There's more words after that sentence you quoted

abstract schooner
#

I'm trying.

#

It also looks like the event didn't fire??

#

But I've also set up webhook, which doesn't really make sense. I tested locally and everything went fine.

steel pendant
#

What do you mean by it doesn't look like the event didn't fire?

abstract schooner
#

Ok well I got it to send from the cli. I was just using the wrong id 🙃

#

I mean my server isn't receiving it

#

And it doesn't look like stripe is doing anything with it as far as I can tell. I mean most likely I'm messing something up here. I don't think stripe is just not sending webhooks

livid island
#

what command are you using though?

abstract schooner
#

like with the cli?

livid island
#

anything that is relevant

#

sorry right now the whole threads boils down to "it doesn't work"

abstract schooner
#

stripe events resend <id> --live

livid island
#

we're both just trying to help

#

okay so did you read the doc I mentioned earlier? I edited that sentence myself to make it super clear

#

but you only quoted the first part

#

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. You can only resend events that have been created within the last 30 days.

abstract schooner
#

My webhook is "connect" does that mean it'll only listen on connect webhooks or it just has the ability to do so?

livid island
#

I don't understand your sentence again I'm sorry, what does "it just has the ability to do so" mean?

abstract schooner
#

Yeah no problem and I appreciate the help

livid island
#

The CLI lets you resend events. You need to explicitly pass the webhook endpoint id when trying to re-send an event to a specific endpoint in your account

#

I have not yet tested this with Connect, so I assume it works by default but maybe there's a bug somewhere, but getting more details will help

#

right now the command you did can't work. You never said which account the event is from or which endpoint to re-send it to

abstract schooner
#

Ok not having the webhook id was the issue. Also, I believe I didn't receive the original webhook because I actually made a type in the url

livid island
#

awesome!

abstract schooner
#

Everything is good now. Thanks for the help I appreciate it. I'll come more prepared next time. I understand the more info you have to work with the easier it is to help.