#benomatis
1 messages · Page 1 of 1 (latest)
By default it should use your account's version. Can you try again without that parameter and then send me the request ID (req_123) ?
I already have
let me give you the req id
req_PR8Sg3BMfblTxo
it complains about the fact I manually set the payment types, but it's not true, instead I just don't have automatic payment methods specified, but I omit it because 2023-08-16 has it set by default
so basically this means that the app, for whatever reason, still uses the old API Version unless I specify it explicitly
if I do, it works perfectly
note that this is happening in my local dev env
could it be that it caches the API Version locally somewhere?
this is a react web implementation
Ah, it looks like 12.X.X versions of stripe-node send 2022-11-15 by default https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#1200---2023-04-06
Older major versions of Stripe node did not specify a specific API version, so this is expected behavior but is different from what your code was probably doing before
why is this so? why can I not just use the dashboard's version, ie. now I have to specify the version at 2 places manually, one is the dashboard, and one is my code... do you know the reason behind that and if it's planned to be changed at all?
Unfortunately not aware of why that change was made but I know we made it for all of our client libraries that were not already pinned to a version. I can file feedback on my side and you can open a GitHub issue about this to express interest in allowing you to use your default again
csn you confirm there is also no way for me to retrieve the api version in the backend, only manually from the dashboard?
or is there a stripe-node version > 12 that has 2023-08-16 as api version by default?
13.X.X versions are pinned to 2023-08-16 https://github.com/stripe/stripe-node/blob/master/CHANGELOG.md#1300---2023-08-16
And unfortunately it is not possible to retrieve your account's config for this