#leonardo-frizzi_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/1379242264232067174
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! we can only provide english support on the server, is it ok if we chat in english?
that being said i am looking into your question now
ok! just double checking a few things - you mentioned you're doing this in live mode. are you seeing the same error in test mode?
no, when it was in localhost it works, but in live it does not work
how are you doing the redirect? if i go to the URL in the url returned in the checkout session request i'm able to load the page successfully. are you able to do the same?
https://dashboard.stripe.com/logs/req_NYR33D78FDKnK7
so my best guess as of right now is that something in your integration is goofing with the URL
can you try copy / pasting that URL directly into your browser to see if it loads for you too?
Thank you so much for your help! You were absolutely right, the issue was on my end with how the URL was being handled/prepared by my frontend integration.
After you confirmed the direct Checkout Session URL was working on your side, I re-checked my frontend code. I discovered that the publishable key (pk_live_...) I was using to initialize stripe-js was incomplete/incorrect.
Once I updated my frontend code with the exact, full publishable key from my Stripe dashboard, the redirectToCheckout function started working perfectly, and the Stripe Checkout page now loads correctly!
Everything is working as expected now. I really appreciate your quick and accurate assistance in pointing me in the right direction!