#manuborches
1 messages · Page 1 of 1 (latest)
Hi there!
I tried this way but I'm not redirected to the checkout_session
So what happens then? Do you get an error message? If so, which one?
If I save the fetch response in a variable and then log that variable I get the response object with the url of the session https://checkout.stripe.com/c/pay/cs_test_a1wY...
So it does work. You then just need to redirect the user to that URL, for example with window.location
If I redirect the user to the url then I got this error
Can you copy-paste the Checkout Session URL here?
Thank you, checking in to that error
Does this happen with all of the Checkout Sessions that you generate or just this one so far?
It looks like you need to link to the full URL for the Checkout Session https://checkout.stripe.com/c/pay/cs_test_a1jsHSsVJkn0kiKBaGPvEwu5ar0bTlbkbaxXF536FtXNLWzo3BJCUM1uVs#fidkdWxOYHwnPyd1blpxYHZxWjA0SDJIQm5MRGpEanx0cTRqb1Jjf25dSj03anVsYlwwPW5OM1B0TGxRZDBuaDxPbX1sPWxBa251cWRCQjdGaUBSVUkzNXJhSFI3cXdPR0pkZzNBcD1iUUhpNTVIREhMa3RQRicpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl
Which should be what is returned by the API call as far as I can see https://dashboard.stripe.com/test/logs/req_3LryrMItT8Ciro
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.