stripe / stripe-go

Go library for the Stripe API.
https://stripe.com
MIT License
2.11k stars 456 forks source link

[Feature Request] Enable stripe event listener via sdk #1372

Open steeling opened 2 years ago

steeling commented 2 years ago

Can we call the equivalent of the stripe cli's stripe listen --forward-to localhost:8080 from the Go SDK, particularly if I could just supply the secret key, and not need to fuss with logging in.

This would make it much easier to test in CI scenarios.

remi-stripe commented 2 years ago

@steeling it's not something we support today though you can always script this or make the call yourself in your test suite. It's something we have discussed in the past though and might support in the future, so I'm going to tag this as such, but it's unlikely to happen soon!