#suresh-chowdary_code

1 messages ¡ Page 1 of 1 (latest)

wild cipherBOT
#

👋 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/1270750152818298931

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

waxen topaz
#

Hello, do you have the ID of a checkout session that you saw this behavior with? (cs_test_1234)

drowsy gyro
waxen topaz
#

That session has a localhost return URL. Can you create a session with the URL for your dev instance and send me the ID?

#

That functionality should work in either

drowsy gyro
waxen topaz
#

Looks like it should work to me. Do you have a public test page where I can try this?
And can you tell me more about what exactly is happening on the redirect? Is the query param still there with the value {CHECKOUT_SESSION_ID}? Is it completely gone when the redirect happens?

waxen topaz
#

Is it possible that your server is redirecting further and removing the query param? I have seen some sites do that before.

drowsy gyro
waxen topaz
#

I understand that it is working for localhost, the question is about what you've debugged with the actual URL behavior

#

If you haven't already, it could be helpful to look at the redirect in the network tab of your browser's dev tools. That should show if our original redirect includes the query param

waxen topaz
#

I understand where it ends up. My current theory is that there is an intermediary step where it gets removed

#

Without being able to test myself or without you debugging at that level I am not sure where else to look at the moment

drowsy gyro
waxen topaz
#

I already gave a suggestion of how to debug and offered to test myself if you have a public test page

#

I am happy to break that suggestion down further if that will help

waxen topaz
#

My suggestion for debugging is possible in test mode