#nerder
1 messages · Page 1 of 1 (latest)
hello! can you share the exact error message?
I show you the code real quick, because i don't really have an error, just an empty checkout page with shimmers loading forever
In the checkout page i can see this tho:
on a call is trying to do to this endpoint: Request URL: https://errors.stripe.com/api/211/store/?sentry_key=69608671eeaf4dc7a53ba2b2d1adceff&sentry_version=7
if your page is shimmering, the most likely cause is that the URL isn't the full URL - if you compare the URL in your browser to the URL returned in the Checkout Session. Likely everything after the hash is missing
the redirect function probably just doesn't handle the hash very well. One alternative is to return the URL to your frontend in the response, and handle it there instead of redirecting from the backend (probably using window.location)
yes!
you are right, I didn't notice that
consider tho, that this is showed in the example https://stripe.com/docs/checkout/quickstart
and also if I leave the user interaction with something like a button (as in the example) it works well
so i'm actually more afraid of how i'm handling the then in the frontend which might be receiving a response.url stripped of the hash
Ok I fixed it as you proposed
passing back the url instead of redirecting directly