#ddbg

1 messages ยท Page 1 of 1 (latest)

modest siloBOT
warped hemlock
#

Can you send me the exact command you are using right now?

grim kite
#

hey @warped hemlock I could install it on my machine ๐Ÿ™‚

warped hemlock
#

Oh I didn't realize you said "shell" not "CLI", the shell only supports some commands and it looks like resend is not one of them

grim kite
#

but how can I send hooks for live mode :

warped hemlock
#

Yes installing locally would enable you to run this command

#

I don't think that the CLI supports sending livemode events

grim kite
#

that will be problematic for us :/

warped hemlock
grim kite
#

we are making a migration and our old api is no longer available :/

#

I have this error :

warped hemlock
grim kite
#

thank you @warped hemlock but I can't find where I can enable the key on your link :/

warped hemlock
#

There should be an entry like "CLI key for {computer name}"

#

Maybe try logging in again with the CLI?

grim kite
#

Yes I have this mention! It's the name of my machine

#

and will expire in 90ddays

#

but how can I enable it?

warped hemlock
grim kite
#

Got it!!!

#

just enabled it!

#

will let you know if that works!

#

thank you very much @warped hemlock !

warped hemlock
#

Awesome, glad I could help

grim kite
#

@warped hemlock I could send the webhook form the CLI, but we didn't rreceived it on the specified endpoint, the webhook id is good and the CLI displayed the hook body :/

severe phoenix
#

Hello ๐Ÿ‘‹
Apologies for the delay.
Pompey had to step away, give me a moment to catch up here.

What are you stuck on at the moment?

junior ivyBOT
#

This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact

rare cargo
#

@grim kite how can I help?

grim kite
#

Hey @rare cargo thank you very much!

#

It's still about the send an event with the CLI, I could enable the right and didn't got any errors after sending the event from the CLI, but on the endpoint side, I received nothing :/

rare cargo
#

What's the evt_xxx ID?

grim kite
#

here's the event : evt_1M2Vv9FxsE4pn4oaTrwgJSWw

rare cargo
#

And the we_xxx ID you're attempting to send it to? we_1IQxLzFxsE4pn4oa2xL7aVtz?

#

If it is we_1IQxLzFxsE4pn4oa2xL7aVtz, that webhook is disabled

grim kite
#

yes it's this endpoint

#

that's weird

rare cargo
grim kite
#

@rare cargo it's weird, our hook prd-gateway on stripe dashboard is enabled (we are firing some hook from the dashboard right now)

rare cargo
#

That's still enabled, and receiving events. We hadn't disabled that one as it was returning 2xx responses as we expect

grim kite
#

yes, it's this one the right one I want to send the event evt_1M2Vv9FxsE4pn4oaTrwgJSWw to we_1IQxLzFxsE4pn4oa2xL7aVtz

#

that should work but it isn't :/

rare cargo
#

Ah, I know why. It's not configured to listen for customer.subscription.deleted events (which is what evt_1M2Vv9FxsE4pn4oaTrwgJSWw is)

#

Sorry, I got the webhook endpoints mixed up

grim kite
#

no problee

#

*no problem ๐Ÿ™‚

rare cargo
#

So you should update we_1IQxLzFxsE4pn4oa2xL7aVtz to listen for customer.subscription.deleted events and then re-send via CLI

grim kite
#

ahhhhh yesss, we forgot to listen to this event on this new endpoint...

#

will uppdate that and keep you posted ๐Ÿ™

rare cargo
#

๐Ÿคž

grim kite
#

that's working perfectly!!! thank you so much @rare cargo ๐Ÿ™

surreal shore
#

๐Ÿ‘‹ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!