How can I automatically log in passwordless users via email links to complete purchases? Completed
Password” setup so users can sign up and get redirected to purchase my paid product.
When someone signs up, a lead plan is automatically attached to their account. This plan doesn’t give them access to the product — it simply allows me to send email campaigns to encourage them to buy. I’m using passwordless login on my platform.
Once a user purchases, the lead plan is removed and replaced with the paid plan. If they don’t purchase, the lead plan remains so I can continue marketing to them through email.
The issue I’m facing is that, because there’s no password created during signup, I’m not sure how to structure the links in my email flows so that when users click, they log in automatically and can complete their purchase using the same account they originally signed up with.
--
Link to my sales page: https://get.glori.io/anti-inflammation/the-anti-inflammation-protocol-the-7-day-reset
Comments
8 comments
Hey ilyas el megarbi,
You could probably combine pre-fill email field use-case with the auto-open checkout based on the URL parameters since you would know the email of the user that signed up and also the price ID information for the plan that you are nudging them to buy via the email campaigns.
With this approach they can't login automatically by clicking the button in the email and would still need to enter the one-time code to login but the users won't need to remember the email ID that they signed up with and everything is auto filled for them based on the parameters that you set.
Hope this gives you some idea.
I'Ve setup the auto-open checkout with multistep-password login, and instead of directing me to the checkout it redirect me to the home page of the domain (get.glori.io) till i click on back then it refreshes and shows the checkout page.
Here is the link of the page: https://get.glori.io/anti-inflammation/ln-the-anti-inflammation-protocol-the-7-day-[…]=true&priceId=prc_anti-inflammation-protocol-product-1k1hg0ibj
Here is a dummy page to sign up: my.glori.io/dummy-sign-up and for the redirect base plan i didn't add any as you can see on the screenshot.
Hey ilyas el megarbi,
I can see that the member's login redirect is set to the dashboard page of your site. Is that intentional or can you get rid of it and test this out?
ive switched the plan you have to the plan that the leads will have, as you can see in the screenshot the default seeting of redirect are empty but now it redirects to 404 page and again till you go back and refresh then the checkout start, and alsso as you can see the Plan for the leads the redirects are empty as well
Hey ilyas el megarbi,
Can you check the member's login redirect for the members that is being set up to check if it's leading to the dashboard page?
I had shared a guide on it for reference in the previous thread as well.
as you can see no redirect link
can you check my member view and the login redirect?
I can see that my login redirect is set to "https://my.glori.io/dashboard", can you check if you have any automation on sign up that is setting this value, since you had checked that plan level redirects is not being set in the settings.
That being said, I found this memberscript which you can probably customize for your use-case. I have not tested it personally but you could try having the relevant price attribute on your login form and see if this script helps launching the checkout on login.
Hope this helps.
I'm encountering the same issue with the memberscript. The redirect to checkout works correctly when a member is logged in, but non-logged-in users get sent to a 404 page.
As a workaround, I've implemented the following solution:
Please sign in to leave a comment.