#demigilcopywriting_api
1 messages ¡ Page 1 of 1 (latest)
đ 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.
What is not working? Can you share the error message, or the screenshot with the error?
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?
does this screenshot help a bit more?
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
i am hosting the website on lovable.dev
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
ok, could you help me with this
I found this error on your account: https://dashboard.stripe.com/test/logs/req_wV26dqYBWrlflk
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
yes, exactly
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
ok,
do i have to fix this first through stripe or just update the code on the website
You should update the code in your website to use live mode key
I'd recommend checking this guide to get the live mode API keys: https://docs.stripe.com/keys#secret-and-restricted-keys
Then update it in your code
Live mode secret key should be in the format of sk_live_123
ok, i will try this and keep you updated
sounds good!
awesome man, it worked!