Phone number authentication steps in public shop:
If the plugin is installed on a website, a user will encounter these steps during signing up and signing in:
Signing up by phone number authentication plugin
- In a sign up page, user is asked to enter phone number with ISD code.
- After finishing up the registration process, users navigate to the phone number verification page. A message containing a verification code will be sent to the customer’s phone. A phone number is verified after entering the code in the verification page.
- Verification after signing up is not a compulsive step and Customers can verify a phone number at any time in “My Account” section.
Signing in by phone number authentication plugin
1- Customers can login by phone number or email.
2- Only verified numbers are acceptable for login.
3- After submitting the number, verification and ISD code entering is the next step.
4- Finally the password is asked from users.
5- in case of forgetting password, users can recover it by phone number.
Phone number authentication steps in administrator panel:
Setting up the plugin, integrating with a messaging service provider and customization is possible via administrator panel:
Active – Sets whether the phone number authentication is enabled.
Phone number required for registration – if it is unchecked, users can sign up without entering phone number.
Number of customer sms verification codes– the number of messages, sending for verification. When the “Waiting time for next resend code request“is finished, requesting a new verification message is possible.
SMS verfication code expiration time (Minutes) – after specified time, verification code will expire.
Waiting time for next resend code request (Seconds) – time interval between sending verification code message.
SMS template info
By Allowed message tokens, content of the verification message could be written here.
Required settings for integration with a third party service to send verification sms are in sms providers page.
Country – specify the country for sending the sms. If there is no limitation for countries, set the filed on “all countries“.
Provider interface type
API/ Gateway – enter the “sms http api gateway“ which sms service provider has announced.
Active – if the box is checked, service is available.
ISO and ISD codes are listed in this page. Adding a new code is possible. For each country, regex pattern is defined to specify the phone numbers’ pattern.
Note 1: to specify an ISD code as the default one, go to settings > countries page and set the “display order” as the minimum number.
Note 2: phone number for a user is shown in user detail page and in phone number tab.
Note 3: this plugin do not support multi store.
Note 4: if “username“ is active in a nopCommerce shop and then, this plugin is installed on the system, users will be able to recover their email in order to login. “username” will be deactivated after installing this plugin.