Search code examples
stripe-paymentsstripe-connect

Stripe Redirect URI - Dynamic number in url


I want to set UserId in redirect URI of Stripe, My URL changes like this

www.mydomain.com/registration/1
www.mydomain.com/registration/2

I have www.mydomain.com/registration/ set in redirect URI which works fine but breaks when Stripe sees that number in URI

I need to: Connect the users to Stripe using this feature


Solution

  • You should just redirect to one page on your site.

    That one page can either: a) finalize the oauth process and then do the redirect, or b) redirect to the page that will complete the oauth process