#wilem_code

1 messages ¡ Page 1 of 1 (latest)

wet grottoBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247916994402058261

📝 Have more to share? Add details, code, screenshots, videos, etc. below.

oak brook
#

When you call that code, would window.location.origin also resolve to a URL on your site?

#

Have you checked if the browser goes to that /confirmation URL but then that URL redirects to your home page? That is common behavior for unrecognized URLs, so I could see that being a potential explanation

tawny monolith
#

ok so i test in slow 3G to see and it goes to the confirmation page, the page appear and then it redirect to the home page by himself

oak brook
#

Gotcha, so it looks like Stripe is redirecting correctly at least?

tawny monolith
#

yes

tawny monolith
#

i replicate the bug on staging, when i try with the 3D secure i also have the redirect, but when I test with the regular test card it works fine

#

do you have an idea why ?

oak brook
#

I don't fully understand what you are describing. Can you go in to more detail about what happens when the page works and what issue the redirect is casuing now?

tawny monolith
#

When i do my checkout flow on staging, and i arrived to the step where i have to put my credit card info i try with the test card that activate 3D secure on my test environment and i had the same issue as i have in production which is the redirect to the home page.

When i try with the regular test credit card 4242 4242 4242 4242 it works fine and i don't have the redirect

oak brook
#

I thought that you found that the redirect issue was that your confirmation page was immediately redirecting. Is that not the case?