#MaxPaleo - connect

1 messages · Page 1 of 1 (latest)

wet wharf
#

Hi there. One moment

dark latch
#

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!

hidden robin
#

Hi there 👋 taking over for duchess.

Give me just a few minutes to get up to speed

dark latch
#

Thank you!

hidden robin
#

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.

dark latch
#

Yes, we discussed saving this in state, but

#

How does Shopify do it without any redirect?

#

Shopify has no re direct at all, and brings the user exactly to the page where he was

swift oak
#

that video doesn't prove much though

#

did you look at the network requests?

dark latch
#

Checking those now

swift oak
#

Ultimately, it's impossible to put a wildcard or dynamic URL so they are not doing what you think they are

dark latch
#

All right, thanks for the help!

swift oak
#

Did you see the network requests/redirect they are doing?

#

Like I work on Connect so I know for a fact you can't do a wildcard or dynamic redirect