WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

OTP Login With Phone Number, OTP Verification

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

OTP Login With Phone Number, OTP Verification

由 Hamid Alinia 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

為支援 WooCommerce 的 WordPress 網站使用行動電話號碼、簡訊或 WhatsApp 以啟用單次有效密碼登入。使用符合 GDPR 規範的自訂閘道完成安全的無密碼登入。

使用這個外掛便能讓使用者在 WordPress 網站使用行動電話號碼登入或註冊。網站客戶可以透過 OTP 單次有效密碼驗證行動電話號碼。

在使用行動電話號碼登入表單新增國旗。

網站可以免費使用幾乎全部的簡訊閘道 (必須有使用權),也可以付費請我們開發目前網站有使用、但這個外掛尚未支援的簡訊閘道。

網站管理員可以變更表單樣式及外觀。

使用者可以使用 Firebase、Textlocal 及其他簡訊閘道

如需閱讀線上說明或取得更多協助,請造訪 Login with Phone Number 線上說明。

  • 在 WordPress 網站中使用行動電話號碼登入。

  • 在 WordPress 網站中使用單次有效密碼登入。

  • 在 WordPress 網站中使用行動電話號碼登入。

  • 電子郵件地址登入/註冊

  • WordPress 登入表單

  • WooCommerce 註冊表單

  • 使用行動電話號碼登入 WooCommerce 帳號

  • WordPress OTP 登入

  • 使用行動電話號碼註冊 WooCommerce 帳號

  • 在 WordPress 註冊功能表單新增 [行動電話號碼] 欄位

  • 簡單易用

  • 支援國際簡訊傳送

  • 透過行動電話號碼啟用使用者

  • 重設密碼功能表單

  • 經過頁面身分驗證以存取頁面

  • 使用行動電話號碼登入或註冊

  • 在使用者登入或註冊後,將使用者重新導向至指定網址

網站可以使用專屬自訂簡訊查到,也可以使用 idehweb.com 預先開發完成的其他立即可用的簡訊閘道。

目前支援的簡訊閘道:

  • Firebase – Free
  • Msg91 – Free
  • Twilio
  • Netgsm
  • Alibabacloud
  • MessageBird
  • Kavenegar
  • Trustsignal
  • Taqnyat
  • 2Factor
  • Textlocal
  • BlueSoft
  • IQSMS
  • WhatsApp
  • Ultramessage
  • Telegram
  • Ippanel
  • Sms.ir
  • MelliPayamak
  • Farazsms

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

外部服務

This plugin uses external services to provide chat support and analyze user behavior. Below is the list of services used and what data is sent:

  1. Crisp Chat

– Used to provide live chat functionality within the plugin for user support.
– Data sent: user chat messages, name, email, IP address.
– Service provider: Crisp IM SARL
– Terms of Service: https://crisp.chat/en/terms/
– Privacy Policy: https://crisp.chat/en/privacy/

  1. Microsoft Clarity

– Used for user behavior analytics to understand how users interact with the plugin’s administrative pages.
– Data sent: user interactions like mouse movements, clicks, and scrolling. Personally identifiable information (PII) is masked.
– Service provider: Microsoft
– Terms of Service: https://clarity.microsoft.com/terms
– Privacy Policy: https://privacy.microsoft.com/en-us/privacystatement

  1. Firebase 驗證

– Used to verify users’ phone numbers with OTP for secure authentication.
– Data sent: phone number and verification requests. IP addresses are used for security and abuse prevention.
– Service provider: Google Firebase
– Terms of Service: https://firebase.google.com/terms
– Privacy Policy: https://firebase.google.com/support/privacy

安裝方式

  1. 從 WordPress 外掛目錄下載外掛安裝壓縮檔。
  2. 將解壓縮所得的 login-with-phone-number 資料夾上傳至 /wp-content/plugins/ 目錄。
  3. 在 WordPress 管理後台的 [外掛] 選單中啟用外掛。
  4. 在網站的文章及頁面中需要使用者登入的位置使用 [idehweb_lwp] 短代碼。
  5. 在需要顯示以登入使用者中繼資料的位置使用 [idehweb_lwp_metas nicename="false" username="false" phone_number="true" email="false"] 短代碼。舉例來說,可以在使用者個人資料頁面使用這個短代碼,便能顯示使用者的行動電話號碼、電子郵件地址、使用者名稱及暱稱。
  6. 如需傳送 OTP 簡訊,網站管理員必須購買簡訊傳送額度,在外掛內可以購買相關簡訊閘道的傳送額度,或是網站管理員使用自訂閘道。某些簡訊閘道可以自行新增。

常見問題集

這個外掛是否能搭配 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.

如何回報安全性程式碼錯誤?

使用者可以透過 Patchstack 漏洞揭露計畫回報安全性程式碼錯誤,Patchstack 團隊會協助驗證、分類及處理任何安全性漏洞。回報安全性漏洞

使用者評論

Works flawlessly

webmaster1105 2025 年 10 月 26 日
Awesome plugin. I was able to set it up in a few minutes. If you face any issues, you can chat with author from the plugin setting page of your website itself. With Firebase, I got a free limit of 1000 sms per day. So it’s working great for my website now. Looking forward to buy the paid version in future, jsut to support the author.

Easy access with great support

Sajjad Nazari 2025 年 10 月 25 日
It was a grate experience for to using good plugin and their support team was good at it.

Shows Ads and Needs Pro Version!

pixer 2025 年 10 月 17 日 7 則留言
1. Shows ads. 2. Shows developers real face in my admin dashboard 😐 3. The core basic functionality (connection to KaveNegar SMS service provider) is locked behind Pro version. Almost all SMS gateways are locked behind a paywall. 4. “Enable usage tracking” option checked by default (without users knowladge).

Great plugin, but needs some improvements

badraldossari 2025 年 7 月 10 日
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 2025 年 6 月 5 日 1 則留言
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 2025 年 5 月 7 日
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.
閱讀全部 79 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈OTP Login With Phone Number, OTP Verification〉的開發相關工作。

參與者
  • Hamid Alinia

〈OTP Login With Phone Number, OTP Verification〉外掛目前已有 10 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈OTP Login With Phone Number, OTP Verification〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.8.58

  • Added: Kavenegar sms gateway for free

1.8.57

  • Added: MSG91 gateway for free

1.8.55

  • Added: Firebase library url import
  • Added: Other sms gateways

1.8.54

  • Added: Firebase Auth JS file
  • Fixed: Banner src in sidebar (corrected address)
  • Fixed: Gateway input settings style (LTR layout)

1.8.53

  • Added: Translatable subject and message for activation code emails
  • Fixed: Corrected image URLs to ensure proper display in the plugin

1.8.52

  • Fixed security vulnerabilities by adding proper nonce verification to all form submissions
  • Added input validation for all $_GET and $_POST superglobal variables
  • Implemented proper sanitization for user input before database operations
  • Fixed AJAX authentication issues by adding proper cookie handling with credentials
  • Added proper error handling for missing required fields
  • Improved form security with nonce fields on all admin settings pages
  • Fixed PHP warnings and implemented WordPress coding standards compliance
  • Added external services disclosure section to README

1.8.50

  • Added GPLv2 license declaration in the main plugin file and readme.txt to comply with WordPress.org requirements.
  • Added translators comments for all strings containing placeholders.
  • Ensured all __() calls include the correct text domain (login-with-phone-number).
  • Removed hidden files (like .DS_Store) from the plugin directory.
  • Renamed image files to remove spaces and special characters:
    • flags@2x.png → flags-2x.png
    • login-with-phone number-for-iran.gif → login-with-phone-number-for-iran.gif
  • Escaped user-generated output in JSON responses to prevent potential security issues.
  • Refactored main plugin code: split one large file into five smaller modular files for better readability and maintainability.
  • Fixed fatal error on sites without WooCommerce by guarding is_account_page() calls with function_exists().
  • Added versioning to all enqueued CSS and JS files for proper cache-busting (filemtime() recommended).
  • Fixed intlTelInput integration: ensured script and inline initialization work properly; added proper footer handling.
  • Corrected HTML input for security code (id attribute added, pattern changed to [0-9]{6} for HTML5 compliance).
  • Fixed minor typos and double slashes in Firebase script paths.
  • Ensured all scripts intended for front-end are hooked to wp_enqueue_scripts and not admin_enqueue_scripts.
  • Enhanced compatibility with PHP 8+ to avoid deprecated warnings.
  • Optimized SMS sending for faster processing and lower server load.
  • Added filter hooks to allow customizations for the SMS sending logic.
  • Improved error messages for failed phone number validation to be more user-friendly.
  • Added an option to enable/disable automatic phone number verification during registration.
  • Updated translation files to include new language keys for recently added features.
  • Fixed issue with multi-site installations where the plugin settings were not being saved correctly.
  • Improved UI for the admin settings page to make it more user-friendly and responsive.
  • Added feature to send a test SMS to verify gateway settings before saving them.

1.8.48

  • Strengthened Firebase OTP verification logic to properly validate API responses before authenticating users.
  • Prevented unauthorized logins caused by improper handling of Firebase verification errors.
  • Added validation to ensure Firebase API key is configured before attempting verification.

1.8.46

  • Added option to customize the text displayed after login (instead of the form)
  • Added logout className support
  • Added UserName and IsLoggedIn to the wp_localize_script object

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

中繼資料

  • 版本 1.8.58
  • 最後更新 1 個月前
  • 啟用安裝數 1,000+
  • WordPress 版本需求 4.0 或更新版本
  • 已測試相容的 WordPress 版本 6.8.3
  • 語言

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

    將這個外掛本地化為你的母語版本

  • 標籤
    loginotpphonesmswoocommerce
  • 進階檢視

評分

4.9 星,滿分為 5 星
  • 75 5-star reviews 5 星 75
  • 2 4-star reviews 4 星 2
  • 1 3-star review 3 星 1
  • 0 2-star reviews 2 星 0
  • 1 1-star review 1 星 1

新增使用者評論

查看全部使用者評論

參與者

  • Hamid Alinia

技術支援

最近 2 個月解決的問題:

總計 1 個問題,已解決 0 個

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • Visit our Bluesky account
  • 造訪我們的 Mastodon 帳號
  • Visit our Threads account
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
程式碼,如詩