#smoke-cli-version
1 messages · Page 1 of 1 (latest)
smoke-cli-version
you can use https://stripe.com/docs/cli/post#post-stripe-version to force a specific version when making calls
im wondering if its an issue with the configured webhook endpoints online
we still have the old code on our dev instance, but i want to test receiving the new style events locally
You can create a new WebhookEndpoint via the API with the newer API version first and listen to Events on that endpoint
but there isn't a flag on the CLI to globally set the API version
yeah i tried doing that as well as disabling the older webhook handler for the old api version, but im still getting old version webhooks locally
do you have an example Event id?
sub_1M70mxHra23Ln0pqCARc6Vul
coudl it be that i am receiving old version events because I am creating the subscription,etc using our dev api instance that is still on the old version?
that's a subscription id. Please share an exact Event id evt_123
Sorry will do but I had to leave the office for awhile. I can reply here or open a new ticket later once I have that info.
We tested locally and it doesn't seem possible to have the CLI properly forward the right version right now. I'd recommend filing an issue on https://github.com/stripe/stripe-cli
and for testing for now the easiest is likely to create a separate Stripe account so that you can set the most recent version and test it as needed with the CLI