#nerder

1 messages · Page 1 of 1 (latest)

rapid galleonBOT
jolly lily
#

hello! can you share the exact error message?

sonic vector
#

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:

jolly lily
#

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)

sonic vector
#

yes!

#

you are right, I didn't notice that

#

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