WordPress.org

Nigerian Pidgin

  • Themes
  • Plugins
  • About
  • Get WordPress
Get WordPress
WordPress.org

Plugin Directory

WooCommerce OTP Login With Phone Number, OTP Verification

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

WooCommerce OTP Login With Phone Number, OTP Verification

By Hamid Alinia
Download
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

Enable OTP login for WordPress and WooCommerce using phone numbers, SMS, or WhatsApp. Secure passwordless login with custom gateways and GDPR compliance.

Login/register with phone number in WordPress can happen with this plugin. Your customer can authenticate with their mobile number via OTP.

Added country flags to login with phone number form

You can add almost every SMS gateways (if you have) yourself for free, or you can ask us to develop your sms gateway with paying extra.

you can change style and appearance of forms

You can use Firebase, textlocal and other SMS gateways

For checking docs and getting more help please visit:
Login with phone number in WordPress documentations

  • Login with phone number in WordPress

  • Login with OTP WordPress

  • Login with mobile number WordPress

  • Login/Register with E-mail

  • WordPress Login Form

  • Woocommerce Registration Form

  • Woocommerce Login With Phone Number

  • WordPress OTP Login

  • Woocommerce Registration With Phone Number

  • Add Phone Number to WordPress Registration

  • Simple Use

  • Support of International SMS Delivery

  • Activating Users by Phone Number

  • Password Recovery Form

  • Page Authentication in Order to Visit Pages

  • Login and Registration with Phone Number

  • Redirect Users to Specific URLs After Logging in or Registering

You can use your custom gateway. you can also use other ready sms gateways from idehweb.com.

Supported gateways for now:

  • Firebase
  • Twilio
  • Netgsm
  • Alibabacloud
  • Messagebird
  • Kavenegar
  • Trustsignal
  • Msg91
  • taqnyat
  • 2factor
  • Textlocal
  • BlueSoft
  • IQSMS
  • Ippanel
  • Whatsapp
  • Ultramessage
  • Telegram
  • Sms.ir
  • MelliPayamak
  • KavehNegar
  • Farazsms

You can now choose to store phone numbers with or without the country code.

Installation

  1. download plugin from wordpress directory
  2. Upload the ‘login-with-phone-number’ folder to the /wp-content/plugins/ directory
  3. Activate it through the ‘Plugins’ menu in WordPress
  4. use [idehweb_lwp] shortcode in your posts and pages where you need user to be logged in
  5. use [idehweb_lwp_metas nicename=”false” username=”false” phone_number=”true” email=”false”] where you want to show logged in users metas. for example you can use this shortcode in user’s profile page. you can show phone number, email, username and nicename.
  6. for sending otp sms, you need credit. you can buy credit inside plugin and use our default gateway, or you can use your custom gateways. some gateways have been added.

FAQ

Does this plugin work with WooCommerce?

Yes, the plugin is fully compatible with WooCommerce. You can use phone number login and registration on WooCommerce account pages and checkout forms.

What countries are supported for phone number login?

The plugin supports international phone numbers. You can configure default country codes and formatting options in the plugin settings.

Is OTP (One-Time Password) login supported?

Yes. Users can log in using an OTP sent to their phone number. You can choose between SMS gateways to handle OTP delivery.

Which SMS gateways are supported?

The plugin supports multiple SMS gateways, including local (Iranian) and international providers. You can select your preferred gateway from the settings panel.

Can I customize the login form design?

Yes, the plugin provides shortcodes and hooks for developers. You can fully customize the form layout using CSS or integrate it into your theme templates. Also you can purchase Pro version for customizing easier.

Can this plugin work with existing users?

Yes. The plugin can be synchronized with existing WordPress users. If a phone number is already stored (e.g., in user meta), the plugin can match and allow login without requiring re-registration.

Can I allow login with both phone number and email?

Yes, you can enable dual login. The plugin lets users log in using either their phone number or email address — whichever is more convenient.

Does the plugin support Google SSO (Single Sign-On)?

Yes. You can enable Google SSO alongside phone login. This allows users to log in quickly with their Google account, providing a seamless and flexible login experience.

Does this plugin replace the default WordPress login?

You can either use this plugin alongside the default login or redirect users to the phone-based login form exclusively. This behavior is configurable in the settings.

Is the plugin translation-ready?

Yes, the plugin is fully translation-ready and compatible with WPML, Polylang, and other popular translation plugins. It also includes Persian (fa_IR) translations out of the box.

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

Reviews

Great plugin, but needs some improvements

badraldossari July 10, 2025
The plugin is great, but there are some compatibility issues with the WoodMart theme.Also, when the “Abandoned Cart” feature is enabled, it causes problems. I hope these issues will be fixed in future updates. Additionally, I suggest adding more login form templates instead of relying on just one.

Great plugin!

ludmilasv June 5, 2025 1 reply
Thanks a lot, your plugin saved me so much time for development!One small bug: the shortcode renders 5 forms, and all of them have a field with the same id. So, I have a warning in console: Found 5 elements with non-unique id #security.

This plugin is a life saver!!!

nikhiljdhv May 7, 2025
So I recently migrated one of my clients website from Shopify to Woo and they needed a otp based login. All other options seemed a little too much and I wanted something very straightforward. Add the phone number, get an otp and login. These guys do just that. No fuss! And the best part is, the customer support was spot on. I had trouble syncing the old Shopify customers with this app but the support team guided me very efficiently and got the issue resolved in no time. I highly recommend this plugin and I’m soon going to opt for the paid version.

the beast plugin

ehsan February 19, 2025
support india and Saudi Arabia and another country and the pro version of this plugin is much cheaper than other plugins

the best plugin

kioomarss February 16, 2025
best plugin for sms

Very nice plugin

leowdstudios September 20, 2024
Really good plugin! just a little bit slow the converstion but all OK!
Read all 76 reviews

Contributors & Developers

“WooCommerce OTP Login With Phone Number, OTP Verification” is open source software. The following people have contributed to this plugin.

Contributors
  • Hamid Alinia

“WooCommerce OTP Login With Phone Number, OTP Verification” has been translated into 10 locales. Thank you to the translators for their contributions.

Translate “WooCommerce OTP Login With Phone Number, OTP Verification” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.8.44

  • Added conditional check to ensure the .lwp_login_overlay is appended only if it does not already exist.
    *Enhanced the overlay display functionality for improved user experience when the sticky option is enabled.

1.8.43

  • New Feature: Added an option to show the login/register form on all pages, except the “My Account” page in WooCommerce.
  • Admin can enable this option via the settings page.
  • The form will be displayed in the footer of all pages, excluding the WooCommerce account pages (my-account).

1.8.42

  • Added a notice to encourage users to activate an SMS gateway for enabling login via phone number.
  • The notice informs users to configure the SMS gateway and highlights WhatsApp OTP as a more efficient, cost-effective solution.
  • Provides a direct link to the gateway settings page for easy configuration.

1.8.41

  • System Default Gateway Upgrade! See your credit, track expiry, and send OTPs over WhatsApp with ease!

1.8.39

  • Updated prices for the system default SMS gateway. You can enable it under the General tab by selecting System default in the “SMS Default Gateway” field.

1.8.37

  • solve problem of “lwp_forgot_password”

1.8.36

  • Added Netgsm Turkey SMS gateway

1.8.26

  • Added system default sms gateway (Whatsapp OTP gateway)

1.8.25

  • Added Option to store phone numbers without the country code. By default, phone numbers are stored with the country code.

1.8.24

  • update lwp_update_password_action function
  • update extra fields with method firebase

1.8.23

  • update algorithm of setting extra fields and registration

1.8.21

  • add usage tracking code
  • enable button to disable support chat and tracking code
  • only show chat on admin page

1.8.15

  • solve msg91 for indian users

1.8.14

  • add firebase label

1.8.13

  • remove conflicting for iti__flags

1.8.12

  • remove ads

1.8.11

  • update readme and docs
  • remove wizard
  • optimize flags styles
  • add some other sms gateways
  • sync old woocommerce users billing_phone with $billing_phone

Meta

  • Version 1.8.44
  • Last updated 3 days ago
  • Active installations 1,000+
  • WordPress version 3.0.1 or higher
  • Tested up to 6.8.2
  • Languages

    Arabic, Chinese (Taiwan), English (US), German, Persian, Spanish (Colombia), Spanish (Ecuador), Spanish (Mexico), Spanish (Spain), Spanish (Venezuela), and Turkish.

    Translate into your language

  • Tags
    loginotpphonesmswoocommerce
  • Advanced View

Ratings

4.9 out of 5 stars.
  • 73 5-star reviews 5 stars 73
  • 2 4-star reviews 4 stars 2
  • 1 3-star review 3 stars 1
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Add my review

See all reviews

Contributors

  • Hamid Alinia

Support

Issues resolved in last two months:

4 out of 4

View support forum

  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Support
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Nigerian Pidgin

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry.