#oconnor0 - ping webhook

1 messages · Page 1 of 1 (latest)

pure talon
#

Do you have the Stripe cli? You should be able to trigger events with it

#

I am not familiar with a ping event. Is that a literal event name you know of or are you asking about test events in general?

fierce ember
#

I have used the CLI with the local webhook listener but not with a configured webhook endpoint.

pure talon
#

If you trigger an event with the CLI, it will also show up on those webhooks. Events are account-wide so any endpoint that can listen for that kind of event will receive one

#

I would say trigger a simple event like customer.created or resend an event with the resend command. Unfortunately it looks like ping specifically isn't supported by the API from my testing just now

fierce ember
#

Yeah, I'd really like a non-side-effecting event, but I can try something simple.

#

I would certainly appreciate if the Stripe CLI supported sending 'ping' just to test connectivity.

pure talon
#

I can put in a feature request for that. In the meantime resending an event with stripe resend evt_123 would probably be a bit better

fierce ember
#

Hm. I'll have to play around with that to see if it does what I want.

fierce ember
#

Alright, I was able with judicious use of --api-key to get something sent to the endpoint I want to test and am getting a 302 back so something is off on my end.

pure talon
#

Yep, unfortunately our webhook events won't follow redirects. Thanks for the update, let us know if you run in to anything else

fierce ember
#

No, I wouldn't expect them to follow redirects.