#Swann - CLI webhook even versions

1 messages · Page 1 of 1 (latest)

edgy wrenBOT
fathom salmon
#

According to the docs: The listen command can receive events based on a specific API version but I can't figure out which combinations of parameters to use : (
There's only --use-configured-webhooks and --latest
--use-configured-webhooks ends up using a really old version that's set to default in our stripe dashboard (I can't change this)

heavy bolt
#

I tried that : (

#

unknown flag: --version is the output I get

fathom salmon
#

Oh, hmm

#

Me too now

heavy bolt
#

Here's the full command I'm using stripe listen --project-name=foo --version 2020-03-02 --forward-to localhost:8080

#

Is there a value I can set in the config maybe? $HOME/.config/stripe/config.toml

fathom salmon
#

I think the docs are misleading here, in that it currently works with your account default version by default (or any account version) or the latest version

heavy bolt
#

Ahh okay I had a feeling

#

Thanks

fathom salmon
#

I'll file that internally to get it improved, it was misleading to me too

#

sorry about that

heavy bolt
#

No worries! Thanks for looking into it I thought I was going crazy lol

#

Last question

#

How can I leverage the --use-configured-webhooks to help me get a specific version?

#

When I pass this flag the cli isn't using any of the versions configured in any of the webhooks in the dashboard

fathom salmon
#

No my understanding is that is only use to pull the subscribed event types

#

So that you can easily include all the event types you actually listen to during your testing

heavy bolt
#

Ahh okay thanks! With all of the context you've given me I think my best bet is to go with the latest version for now

#

Appreciate your time