How to fix authentication redirect for unpaid users in my login system? Answered
Hi guys, have an issue when users that make an account but don't go through my paywall but then try to login in the future just get redirected to my homepage instead of through to the paywall again...
Probably a quick fix but unable to find out how to fix the issue - can someone please help.
Comments
3 comments
The best quick fix is to set your default redirect to your pricing page or maybe a dedicated "upsell" page to funnel people back into your checkout. Do you have multiple prices? Or a single offering?
https://docs.memberstack.com/hc/en-us/articles/7384608370715-Default-Redirects-Plan-Redirects-Signup-Login-Logout
ok epic that should do it - is there a way to send them to the dynamically created stripe paywall instead though?
Just one offering
Hey Thomas Newman, if you want to directly initiate the checkout process after login, you could probably modify this memberscript to achieve your use-case.
You just have to make sure to modify the code to include the price ID of the paid plan you are hoping to launch the checkout for and ensure this is enabled in a page where only users who don't have the paid plan will be redirected to and once its setup, such users will be redirected to the stripe checkout automatically on login. Hope this helps.
Please sign in to leave a comment.