#demigilcopywriting_api

1 messages ¡ Page 1 of 1 (latest)

jaunty valeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always 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/1423735847274025000

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

clear mist
#

What is not working? Can you share the error message, or the screenshot with the error?

strange current
#

yes

clear mist
#

This isn't an error from Stripe. It looks like an error thrown from your system. Could you check your own system logs to understand where the error was thrown from?

strange current
#

does this screenshot help a bit more?

clear mist
#

Who shared this troubleshooting docs? The red box in the screenshot of your website clearly indicated that this isn't an error message from Stripe

strange current
#

i am hosting the website on lovable.dev

clear mist
#

As mentioned earlier, this "Failed to start checkout. Please try again" isn't an error message from Stripe. I'd recommend checking your code to understand which part of it threw this error and check the error stacktrace

strange current
#

ok, could you help me with this

clear mist
#

Are you trying to create a Checkout Session in live mode or test mode / Sandbox?

#

From the given error message, it looks like you're using test mode key to create a Checkout Session, but the price ID is in live mode

strange current
#

yes, exactly

clear mist
#

If you're going to create a Checkout Session in live mode, the secret key should be updated to the live mode one in the format of sk_live_123

strange current
#

ok,

#

do i have to fix this first through stripe or just update the code on the website

clear mist
#

You should update the code in your website to use live mode key

#

Then update it in your code

#

Live mode secret key should be in the format of sk_live_123

strange current
#

ok, i will try this and keep you updated

clear mist
#

sounds good!

jaunty valeBOT
strange current
#

awesome man, it worked!