#MaxPaleo - connect
1 messages · Page 1 of 1 (latest)
We're basically looking for a single redirect, but we need to include the sub domain for the account in it 🙂 let me know if I should make a new recording!
Hi there 👋 taking over for duchess.
Give me just a few minutes to get up to speed
Thank you!
So yeah, it looks like you have a fairly good idea of the limitations here. You can't do a dynamic redirect on a user-by-user basis, and managing multiple redirect URIs is a pretty manual process.
We recommend you use a cookie or a session to "remember" the user. Since they visit the platform’s website first before being redirected to Stripe, the platform can save some information in a cookie. When we redirect the user back to the platform, you can identify the user and remember where they came from. This allows the platform to have a unique redirect url and then once the user lands on that page, you can just redirect them wherever you want. This is the most reliable solution and that’s what I’d use.
Yes, we discussed saving this in state, but
How does Shopify do it without any redirect?
As you can see here: https://www.loom.com/share/f0b5fed31b1e408481f9c5e490683e1b
Shopify has no re direct at all, and brings the user exactly to the page where he was
Checking those now
Ultimately, it's impossible to put a wildcard or dynamic URL so they are not doing what you think they are
All right, thanks for the help!