#aon108-checkout-returnurl

1 messages ยท Page 1 of 1 (latest)

frank drumBOT
bleak surge
#

Can you link the section in the docs you're referring to?

still niche
#

sure

#

im using Go on the backend fyi

bleak surge
#

Gotcha ok. Can you share the request id where you're getting this error?

still niche
#

req_ee9ceUSokeMAbv

bleak surge
#

Hm looking

still niche
#

thanks. it is specifically the curly brackets. if url encode them it is fine - but then obviously doesnt work

bleak surge
#

Let me ask a colleague. You're doing what our docs show, so either the docs are wrong or it's a bug

still niche
#

thanks ๐Ÿ˜Ž

#

i just need some way on the redirect to get what the checkout session id is. As i tried storing it locally but the redirect refreshes the page.

frank drumBOT
#

aon108-checkout-returnurl

bleak surge
#

Ok so it actually looks like some odd validation issue with /#/ in the url

#

My colleague tested your url without the /#/ and it worked with {CHECKOUT_SESSION_ID}

#

We'll file as a bug

#

But recommend you don't use /#/ in the url for now

#

Not sure when the team will get around to fixing this

#

It's specifically the combo of /#/ with {} that trigger the bug

#

Using /#/ without {} works

#

And using {} without /#/ works

still niche
#

haha got to love a good edge case ๐Ÿ˜„ thanks for looking into this. I will get rid of the /#/ in the url. Have a good rest of the day!