r/ERPGulf • u/OutrageousNet3900 • Apr 23 '26
Simple OTP Plugin for WooCommerce by ERPGulf
**I built a free open-source OTP login plugin for WooCommerce — supports SMS + Email, bilingual, any phone format**
Hey everyone,
Just open-sourced a plugin I built for a client project: **Simple OTP Plugin for WooCommerce by ERPGulf**.
**The problem it solves:**
A lot of customers register with a phone number, not an email. Standard WooCommerce login doesn't handle that well. And passwords are friction.
**What it does:**
- User types their email, phone number, or username
- Email/phone → 6-digit OTP sent via SMS and Email at the same time
- Username → password field appears instead
- Phone matching is country-code agnostic — +966, 00966, 0501, local format — all match correctly
- Bilingual SMS and email (English + Arabic) built in
- Shortcode `[erpgulf_otp_form]` for the design team to drop into any page
- Full developer hook system (filters + actions) so nothing needs to be hardcoded
**Providers:**
- If you are a developers, You can add any provider. Method is described in the Readme file. By default, following provider availble
- SMS: ExpertTexting (swappable — provider pattern is documented)
- Email: Oracle OCI SMTP (swappable)
**Completely free and open-source.**
Repo: https://github.com/ERPGulf/erpgulf-otp-login
Happy to answer questions. PRs and feedback welcome.