#zeke_code

1 messages · Page 1 of 1 (latest)

tired gateBOT
warm talonBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tired gateBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1254937605292818463

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

fickle grail
#

Hi Snufkin I found another error like always! 🙂

#

Just ran yarn dev and got this one check it out

tough bluff
#

Those are API version numbers'

fickle grail
#

I believe so

#

import Stripe from "stripe";

export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY ?? "", {
apiVersion: "2024-06-20",
typescript: true,
});

tough bluff
#

So this is a Node-JS back-end, right?

fickle grail
#

yes!

tough bluff
#

Our NodeJS SDK is pinned to an API version

fickle grail
#

explain some more please🤔

tough bluff
#

In order to use the API version you specified, you need to upgrade your NodeJS SDK version

fickle grail
#

interesting

#

im fairly new to coding and I dont mean to bother you more than I alreay have today but what does this mean I just need to update my stripe through my console?

tough bluff
#

Yes, as long as you don't have other integrations that would be broken by the change

fickle grail
#

do I need to do
npm install @types/stripe@latest
or
npm install stripe@latest
?

tough bluff
#

Unfortuntately I'm not really a Node developer.

fickle grail
#

your all good!