Forum
Passwordless registration - email already in use
In my shop I'm using a passwordless customer create form. If I try to place a second order using an email address that already exists in the system I am unable to proceed with the order due to:
"That email address is already in use"
I want customers to be able to place multiple orders, using the same email address, without having to log in/have an account.
Please advise what I need to do or if you need more information.
Are you using the
PerchMembers_Members::check_email
helper on that form field?Yes. I tested removing it but then on submitting the form I just got a "Thanks" message and the redirect didn't work:
The member was created successfully in the admin though.
It's that helper than validates if the email address is in use.
Sorry as I marked this as solved but after more testing it isn't.
By removing the helper it allows the member to be created in the db but the redirect I have on my customer details page then doesn't work (doesn't forward the user to the checkout). It just reloads the details page and outputs the <perch:success> message from my Shop > Checkout > customer_create_passwordless.html. If I manually go to the checkout after that the members details aren't there so I can't complete the purchase (so it's not just a simple redirect issue). As mentioned, the member IS created and viewable in the admin though.
details.php
customer_create_passwordless.html