How to set different redirect URLs for Stripe payment success and email confirmation links?
Hey, I wanted to ask if there is a way to set the redirect from the Stripe payment page and the redirect in the email confirmation to independent, different URLs?
E.g: user signs up get's redirected to stripe payment. After successful payment he'll be redirected to a "confirm E-Mail" page. By clicking the link in the confirmation email, he's redirected to the dashboard?
Comments
5 comments
Hi Sebastian,
This process is handled automatically, so you don’t need to worry about separating the URLs.
Simply set the 'On Signup' URL to point to the dashboard, and the 'On Verification Required' URL to point to the 'Confirm Email' page (see attached screenshot). This will work exactly as in the example you mentioned.
Thank you for your reply. But unfortunately, this doesn't work as expected. Although the user is now redirected to the "confirm email-page" the link inside the mail is still broken and doesn't redirect the user.
Does the link in die EMail contain user data? Like their email etc? Because after the verification process the user should add some additional information before proceeding to the dashboard..
The link in the email handles the verification, then redirects the user to the 'On Signup' URL.
If you're looking to capture more details after they click the link in the email, then you'd have to set the 'On Signup' URL to the page where they'd fill these out, then on that page, you can set a redirect to the dashboard upon completion.
Okay? I don't get it tbh.
The old userflow looked like red one from the image. That worked fine. But now my customer wants to change it to the black one.
Okay and where Do i have to point the on verification requiered redirect?
Hey Sebastian, so to work out the black flow as in the image above, the on signup / on purchase URL should be the 'register/details' in your case and On verification required should be the page where you notify users that they have to verify their email in order to browse the site etc. for e.g. this page.
Doing so will ensure that once the users make the payment, they will be redirected to the verify email page and once they click on the button in the email, they will be redirected to 'register/details' page and you can set the redirect on the onboarding form in this page to be the dashboard page, so when users fill the form in the details page, accurate redirect will happen via weblow. Hope this helps.
Please sign in to leave a comment.