New Zenner
- Join Date:
- Mar 2016
- Location:
- Norcatur, Kansas, USA
- Posts:
- 88
- Plugin Contributions:
- 2
Email Verification Code Module
Hi all,
I want to see written an Email Verification Code Module for Zencart. Zencart lacks this IMPORTANT feature and it has caused big problems and lost sales for my online store due to customers not entering their email correctly (even with the dual email entry field module installed).
Basically, Email Verification is where, before creating an account (or changing the email address of a created account), the Zencart store sends a message to the email address the customer provides. This message contains a 6 digit alphanumeric code that the customer must use to validate the email address they provided.
The behaviour I wish to change on the website is I want to split out the function of the create_account.php page into two pages. The create_account page contains the entry fields for the customer's information.
The first page would have the login fields with a Login button, and also a Create Account button. Entering account credentials and clicking the Login button will proceed as currently exists. The Create Account button will direct to a page called email_verification.php.
This email_verification.php page will have the following behaviour. It will have a field for the customer's email address and a Send Validation Email button. It will also have a "I have my Email Validation Code" button.
When the customer enters a valid email address and clicks "Send Validation Email", the website will 1. Generate a 6 digit alphanumeric code and store it along with the email address in a table in the database. Then it will 2. Dispatch a message to the email address. This email message will contain the alphanumeric code. It will also have a clickable link that the customer can click on that will navigate a new browser window back to the email_verification.php page with the email address and validation code as parameters to the link. When the email_verification.php page receives this information as parameters, it checks the alphanumeric code against the stored code in the table. If they match, it will direct to the create_account page.
If the customer notes the code given in the email and then clicks the "I have my Email Validation" button, the page will show an entry field where the customer can enter the code by keying it or pasting it. They will then click a "Check Validation Code" button, which reloads the page with the email and code as parameters, and the above behaviour will direct to the create_account page.
The create_account page will ask the customer's name, address, phone #, password, etc, as usual.
Also, I would like to see a captcha on the send validation code page and the enter validation code page.
Finally, I would like to see also a page that the user can use to change their email address. In my opinion, using the Email address as the account identification is bad practice and makes the website less secure. Besides, people do use more than one email address, and they do change their email address on occasion.
Fjolsvith