#itaied_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/1386729899577970708
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there ๐ if you want your customers to use their browser back button instead, you can omit the cancel_url from your Checkout Session creation request, and in that case our UI won't provide the back button within the checkout UI itself.
https://docs.stripe.com/api/checkout/sessions/create?api-version=2025-05-28.basil#create_checkout_session-cancel_url
ohh perfect! thank you!
what about the success_url? i guess i'm gonna have the same issues there.
what will happen if i omit it?
That one has to be set if you're using hosted Checkout Sessions. That's where the Customer is sent after they complete the checkout experience.
ok got it
and what will happen when a customer hits the back button after a success redirect?
Just ran a quick test, and it took me back to the Checkout Session where I saw this message: