#smoke-cli-version

1 messages · Page 1 of 1 (latest)

odd micaBOT
olive citrus
#

smoke-cli-version

raven crane
#

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

olive citrus
#

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

raven crane
#

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

olive citrus
#

do you have an example Event id?

raven crane
#

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?

olive citrus
#

that's a subscription id. Please share an exact Event id evt_123

raven crane
#

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.

olive citrus
#

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