Secure Login with Two-Factor Authentication SMS (2FA)

Updated on Apr 11, 2022

Two-Factor Authentication SMS (2FA) is available on WP-SMS for verifying customers’ mobile. You can use it just in the WordPress default login and WooCommerce checkout forms.

otp-woocommerce-checkout

2FA for WordPress

WordPress 2FA allows you to verify your mobile number by sending a one-time password to the users that entered the mobile number. You can verify your mobile number on the WordPress default form.

To use this feature, follow the below instruction:

  1. First, go to WP-SMS
  2. Second, navigate to Professional
  3. Then, click on WordPress and check out the options.
  • Login with SMS
    If you are using the WordPress default form, you can login with 2FA by verifying your mobile number in the login form.
  • 2FA Method
    This option lets you choose the method of using 2FA. You can enable it for all users, or it can be optional and choosable by users.
  • 2FA Run-time
    Here you can set a run-time for 2FA.
  • Message Content
    In this field, you can write the message for your 2FA SMS.

2FA for WooCommerce

WooCommerce SMS Verification in checkout form is available on WP-SMS, and you can use it if you have installed the WooCommerce plugin.

Follow the below steps to change the options:

  1. First, go to WP-SMS
  2. Second, navigate to Professional
  3. Then, click on WooCommerce

     –   Mobile Verification

  • Status
    Set this option to active so that you can have OTP Verification on Orders. But, make sure the mobile field should be activated.
  • Countries Whitelist
    You can add some countries to be included on your OTP list.
  • Retries Expire Time in Hours
    Here you can set a time for retrying sending SMS once the users reached max retries.
  • SMS Text
    In this field, you can write the message for your OTP SMS.

FAQ

– Do I need the pro pack to enable the automatic sending of an SMS for an order placed online?
WooCommerce verification on orders is available only on our pro version. Make sure your license is activated.

– Can I auto send an SMS after a customer has completed his order online?
Yes, it is possible to do that.

– Is the 2FA SMS Verification with WooCommerce checkout form available on the plugin?
Yes, it is available on both versions of the plugin.

– Can I send 2FA with any form I want? Like Contact Form 7.
No, 2FA only can be sent through WordPress default form & WooCommerce checkout.

– Does this feature have the ability to login via phone number with 2FA for WooCommerce?
Please note that login with mobile differs from OTP. As you know, 2FA means One-Time Password.

– Is there any way to autofill the 2FA Mobile Field from Billing Phone Field?
No, it is not possible to do that.

– How can I send 2FA SMS mobile verification with other plugins (like the bookly plugin) and WooCommerce?
If the plugin uses the WooCommerce checkout form, it’s possible, and there is a popup form.

You can check out all frequently asked questions for WP-SMS here.