#emilewerther

1 messages · Page 1 of 1 (latest)

minor fableBOT
idle notch
#

Can you share the code that throws that error?

prisma yacht
#

Ah, it seems we have not upgraded our API Version in the dashboard, i'll review the braking changes and try to upgrade
Thanks for your answer!

idle notch
#

Hmm, you shouldn't need to upgrade your API version to use that parameter

prisma yacht
#

Weird, when typing
let stripeClient = new stripe(stripeSK, { apiVersion: '2022-11-15' })
I get the following :
Type '"2022-11-15"' is not assignable to type '"2022-08-01"'. The expected type comes from property 'apiVersion' which is declared here on type 'StripeConfig

#

(stripeSK being my sk_test_...)

idle notch
#

Yes

#

You need to ts-ignore that as the link above states

#

That error implies to me you're not on stripe@11.1.0 though which defaults to 2022-11-15

prisma yacht
#

Seems to be working, thank you!