How to redirect users to correct gated content on thank you page based on their purchase?
I am creating a website that will have different one time paid workshops. Users will signup before purchasing the workshop so they can login to the website whenever they want to access it.
I want to create a thank you page that users get redirected to after checkout and on this page there is a link that will take them to workshop that they bought. The workshop is gated content that they have just bought access to.
I'm not sure how to create a dynamic link on the thank you page that will change depending on the workshop that the users buys. I know it has something to do with the Price ID but not sure how to implement it.
Any and all help is much appreciated. Thanks!
Comments
4 comments
Hello Shannen Barry
You can use a backend framework like Node.js and server-side scripting like PHP to generate a thank you page with a dynamic link based on the workshop that was purchased.
I want to redirect people who purchase to a 'thank-you' page. The only question I have is if new sign ups are also led to the 'thank-you' page with my current setup?
And if thats the case, how can I change it so only people who pay get redirected?
Yes. The redirect occurs per plan. Memberstack allows to assign a plan in the same signup form. But you can set that rule every time a new plan is added. So if your user subscribe to planA it would redirect to the thank you page of planA. If he adquires PlanB it will redirect to the thank you page you set up for that PlanB
Ah! Brainfart on my end.. thanks!
Please sign in to leave a comment.