#geo_api

1 messages ¡ Page 1 of 1 (latest)

blissful hatchBOT
#

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

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

charred flame
#

What url is it redirecting to?

charred flame
#

But the query params being appended at the end is expected

rotund hound
charred flame
#

Yeah

rotund hound
#

is there a way to not pass the url params back?

charred flame
#

Those params will still be appended

#

No

rotund hound
#

I see, let me try that.
Is there a fail redirect option?

charred flame
#

It'll still redirect to return_url

#

That's why you should check payment status on that page

#

When the customer is redirected back to your site, you can use the payment_intent_client_secret to query for the PaymentIntent and display the transaction status to your customer.

#

In that return url you have payment_intent_client_secret appended

#

You can use that to query status

rotund hound
#

got it

#

is there a work around if I can't remove the # from the url? It seems prod url uses it

charred flame
#

No it'd be a feedback request

#

My guess is the url parser being used by us or affirm treats # as a link to a section

#

So it strips everything out after the #

#

You really shouldn't use # in a route

rotund hound
#

yep, not my choice to do so. I'll pass this along to the team. Thank you!

charred flame
#

Actually one thing you can try

#

Try %23 instead of #

#

in the return_url

#

That's the encoded value

rotund hound
#

that is a great idea!!!!

charred flame
#

Not sure offhand if that'll work

#

But worth a shot

rotund hound
#

yep

#

thanks!