# Registration & Login with Mobile Phone Number

`meteorgpl-plugin/registration-login-with-mobile-phone-number` — a WordPress plugin as a Composer package.

Allow your customers to register and login to your online store directly with their phone number.

- Author: FME ADDONS — https://woocommerce.com/vendor/fmeaddons/
- License: GPL-2.0-or-later (profile: gpl-full)
- Buy a license from the vendor: see the vendor's site
- Latest version: 1.3.9 (2026-08-10)
- Page: https://meteorgpl.com/packages/meteorgpl-plugin/registration-login-with-mobile-phone-number
- Requires WordPress: 5.2
- Tested up to WordPress: 7.0.2
- Requires PHP: 7.4.0
- Translations: bg_BG, cs_CZ, da_DK, de_DE, es_ES, fa_IR, fr_CA, fr_FR, hi_IN, it_IT, mn, nl_NL, ru_RU, uk
- Vendor: WooCommerce — https://meteorgpl.com/vendors/woocommerce.com

## About

**Registration & Login with Mobile Phone Number** is a WooCommerce plugin that lets shoppers register, log in, and link accounts using a one-time password (OTP) sent to their mobile phone.

Configure everything under **WooCommerce → Settings → Login With Phone**. WooCommerce is required.

= OTP providers =

Choose one SMS / messaging provider:

* **Firebase** — client-side phone authentication (optional hide for the Firebase reCAPTCHA badge)
* **MSG91** — server-side OTP send, verify, and resend
* **Twilio** — Twilio Verify API (SMS). Use live Account SID and Auth Token (not Twilio test credentials)
* **WhatsApp Meta Cloud API** — server-generated OTP delivered via an approved WhatsApp template; verification is handled locally (no Meta webhook)

= Customer experience =

* Phone OTP login and registration for guests
* Optional **email-gated registration** for new phone numbers: email OTP via `wp_mail`, or link an existing account with email + password
* **Change phone number** on My Account (Edit Account)
* Login form on **My Account** and **Checkout** (classic and block/Store API aware), with options to hide or disable those placements
* Optional **checkout gate**: require login before checkout; optionally hide customer/payment fields until the customer is logged in
* Checkout field values can be restored after login reload
* Shortcode to place the login form anywhere: `[fme_lwp_display_login_form]`
* International phone input with configurable allowed country codes
* Cart snapshot and restore around login when needed

= Security & limits =

* Failed OTP attempt limits (attempts + time window)
* Successful login count limits (count + time window)
* Google **reCAPTCHA** for non-Firebase providers
* Optional OTP countdown / resend timeout UI

= Store branding =

* Custom form labels, placeholders, button text, and front-end messages
* Button and modal colors
* Optional hide of default WooCommerce login/register forms

= WhatsApp Meta Cloud API =

When WhatsApp Meta is selected:

* Enter Access Token, Phone Number ID, and WABA ID
* **Fetch Templates** loads APPROVED templates from Meta; pick one to save name, language, and template metadata
* **Body preview** shows the template body (including placeholders) before you go live
* There is **no separate Test mode**. Use Meta’s sample `hello_world` from the same approved-template picker to check connectivity (zero body parameters). For production OTP, use an Authentication template with OTP placeholders (e.g. `{{1}}`)
* OTP is generated by the plugin, stored briefly, and verified locally after the customer enters the code

Compatible with WooCommerce High-Performance Order Storage (HPOS). Text domain: `login-with-phone-number`.

## Changelog

### 1.3.9

* new: Added Support for WhatsApp Meta Cloud API as an OTP provider.

### 1.3.8

* fix: Fixed qit validation test issues

### 1.3.7

* fix: Fixed qit issues

### 1.3.6

* Compatibility with latest WordPress and WooCommerce updates
* Scoped admin CSS to avoid conflict with WordPress auto-update notices on the Plugins page

### 1.3.5

* CSS-based loading animation

Full changelog: https://meteorgpl.com/packages/meteorgpl-plugin/registration-login-with-mobile-phone-number/changelog

## Install

```sh
composer config repositories.meteorgpl composer https://composer.meteorgpl.com
composer require meteorgpl-plugin/registration-login-with-mobile-phone-number
```

The repository needs a token (see https://meteorgpl.com/docs). The vendor's license checks are intact: activate the plugin in WordPress with a key bought from the vendor.

## Versions

| Version | Released | Size | SHA-256 | Status |
| --- | --- | --- | --- | --- |
| 1.3.9 | 2026-08-10 | 306.6 KB | 8dc30e9d1675766969259012d7ce8c4f43d9c124bcf59e41fda9bf986da92508 | verified |
| 1.3.5 | 2026-02-20 | 354.5 KB | 7e23e762a9fe44b41d361b9894c9593dd68a8a5d3e1977031bbd322dbd9e5e5d | verified |
| 1.2.9 | 2025-04-30 | 246.6 KB | 6ae6d3a34112ff07ab7205f4e5ab5812652d208595eaf66f10c0c50d8568487a | verified |
| 1.2.2 | 2024-07-22 | 178.0 KB | c725fd413df670129c343ef22ec8d8e0c4171258de8400bdd839a5065daac4ce | verified |
| 1.2.1 | 2024-06-13 | 245.1 KB | edc722b587d73fd117fca2df9bc94cd88e963372b51cf32c8e62b98462699520 | verified |

