#nancy-invoice-event
1 messages · Page 1 of 1 (latest)
nancy-invoice-event
@calm pier my guess is that you have an old account on an old API version. We changed this back in https://stripe.com/docs/upgrades#2018-10-31 and if your account is older than this you might still be on an older API version with the difference.
If you have an example Event id I can confirm
"id": "in_1O7oeiIsJ8B817wy5RNFzBYs",
So i know you can specify the version you want to the backend when you use the stripe package, so even when you specify it to be a newer version for stripe.subscriptions.create call it still give us subscription_updated.
Do we need to change the entire api version on the stripe dashboard
or is it something we can specify in code
To be clear that's an Invoice id in_123. I'm asking about an Event id evt_123 which are different and work with API versions completely differently
But yes your account is on an extremely old API version from back in 2017 as far as I can tell. So whenever Events are generated, they will use the API version on your account and all the rules/formatting from back in 2017.
You can upgrade the API version but this is extremely dangerous. This will suddenly change every single Event and how it's formatted which could break your whole integration. You have to be really careful when doing an operation like this and audit your whole code to undestand what it's doing
do you have any upgrade guide for upgrading the API version
is there a doc on breaking changing in the API versions?