OTP verification during Customer Login using Opencart SMS and OTP Extension

In Purpletree SMS Opencart extension a new feature is developed “login with email id and password using OTP verification”. You can receive OTP verification of your account login via E-mail, Mobile and Email, and Mobile. This feature provides you with the security of your account without verification no one can log in to your account.

Also, It is available so that customers can log in with Mobile and OTP without using an Email Id.

If you want to log in with an email id using OTP verification. Follow “Admin>Purpletree SMS>Settings>Customer Login”. when you click the “Customer Login” tab then you can see the radio button” Login with email id using OTP verification” you can click on the radio button ” Login with email id using OTP verification”.When you checked the radio button, below side “OTP receive on” dropdown box will open, in dropdown box will have three value

E-Mail

Mobile And Email

Mobile

You need to select the value from the dropdown box and click on the Save button.

(More details of Complete Opencart SMS OTP Extension)

1 customer login

When you click on login the login page will open.

2 customer login

3 customer login

If the Email and Password field is empty then you click on the login button and then show a warning message on popup “Warning: No match for E-Mail Address and/or Password.” If you enter the wrong E-mail and Password again show the warning message.

4 customer login

Email

When the Email and Password are correct then Verify E-mail popup will open with textbox and OTP will send to your E-mail. Enter the valid OTP you have received for E-mail on the textbox and click on the “Confirm” button. If the user has not received any one of the OTP then they can also click on Resend button it will resend OTP on E-mail again. When you enter the correct OTP then click the “Confirm” button user account will be logged in.

1 email

If Entered OTP is not valid, Verify E-mail popup will open with the warning message “Invalid verification code”. You must always put the correct OTP.

When you enter the correct OTP then click the “Confirm” button after that user account will log in.

Mobile And Email

If you have selected “Mobile And Email” from the dropdown box in the setting then on the frontend you need to go to My account>Login.

When you enter a valid E-mail and Password then click on the login button then the “Verify E-mail and Mobile Number” popup will open and OTP will send your E-mail and Mobile Number. Enter the valid OTP you have received for E-mail And Mobile Number on the textbox and click on the “Confirm” button. If the user has not received any one of the OTP then they can also click on Resend button it will resend OTP on E-mail and Mobile Number again. When you have entered the correct OTP on the textbox then click the “Confirm” button after that user account will log in

2 email and mobile

If Entered OTP is not valid, Verify E-mail and Mobile Number popup will open with the warning message “Invalid verification code”. You must always put the correct OTP. When you enter the correct OTP then click the “Confirm” button after that user account will log in.

Mobile

If you have selected “Mobile” from the dropdown box in the setting (Admin>Purpletree SMS>Settings>Customer Login) then on the front end you need to go to My account>Login.

When you enter a valid E-mail and Password and then click on the login button the “Verify Mobile Number” popup will open. OTP will send to your Mobile Number. Enter the valid OTP you have received for Mobile Number on the textbox and click on the “Confirm” button.

3 mobile no

If the user has not received any one of the OTP then they can also click on Resend button it will resend OTP on Mobile Number again. When you have entered the correct OTP on the textbox then click the “Confirm” button after that user account will log in.

Nidhi Verma

Nidhi Verma

Author