#benomatis

1 messages · Page 1 of 1 (latest)

vocal vortexBOT
median escarp
#

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) ?

trail drum
#

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

median escarp
#

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

trail drum
#

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?

median escarp
#

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

trail drum
#

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?

median escarp
#

And unfortunately it is not possible to retrieve your account's config for this