#Cecil - Webhooks

1 messages ยท Page 1 of 1 (latest)

primal hull
#

Can you describe what the problem is?

charred sedge
#

when creating my webhook, i specify the version - '2020-08-27' which is supposed to overwrite the version i have setup in my dashboard

#

but when i run the CLI locally it defaults to the dahsboard version instead on processing the webhook with the version - '2020-08-27'

#

i contact stripe support and they kept sending me the same articles. so wanted to reach out to fellow devs who might have encountered this

primal hull
#

If you are using the CLI it will automatically default to your dashboard version AFAIK

charred sedge
#

according to the docs, if you pass the api_version, you can overwrite that or thats not the case ?

primal hull
#

let me take a step back and ask:

when i run the CLI locally
What exactly are you doing with the CLI in this case?

charred sedge
#

stripe listen --events customer.created --forward-to localhost:3000/rest/webhook/stripe

#

and the backend is making all request with the api version i mentioned above, so its odd my responses are with the dashboard version

primal hull
charred sedge
#

so so i cant choose the api version just the option --latest

#

well thats better than none. let me try it real quick and holla back

#

merci beacoup chef!

primal hull
charred sedge
#

yes i was using this one but the option --stripe-version 2020-08-27 doesnt work on cli "/

primal hull
#

Hmmm .. ๐Ÿค”

charred sedge
#

st ill you been a great help.i appreciate it

primal hull
#

I'm happy we've been able to help ๐Ÿ™‚