描述
Happy Coders OTP Login is a simple, secure, and customizable OTP login plugin for WordPress and WooCommerce sites. It enables users to log in using their mobile number via one-time password (OTP) verification, using the MSG91 SMS API.
The plugin supports full-screen and popup login forms, integrates smoothly with WooCommerce, and improves user experience by replacing traditional email/password logins with secure phone-based authentication.
Now, you can fully customize your transactional SMS messages using dynamic variables like ##customer_name##, ##order_id##, and more, directly from the plugin settings.
Watch our quick video tutorial to see how easy it is to set up!
MSG91 Integration
This plugin uses the MSG91 SMS and WhatsApp gateway (https://msg91.com) to send and verify OTPs, and also to send order-related notifications. You must have a valid MSG91 account and approved SMS/WhatsApp templates. You can sign up here
Visit MSG91’s Terms of Service and Privacy Policy for more details about how they handle data
Data Handling and Privacy
- Only the phone number is sent to MSG91 for OTP and transactional SMS/WhatsApp delivery.
- No personal or sensitive user data is stored or tracked by this plugin.
- Plugin does not collect analytics or track users without consent.
- All configurable from the plugin settings page.
🔥 Features:
– Full-screen or popup OTP login form
– WooCommerce login compatibility
– OTP verification via MSG91 (SMS & WhatsApp)
– WhatsApp Send OTP support
– Automatic SMS/WhatsApp alerts for:
– New user registration
– Order placed
– Order shipped
– Order completed
– Cart cronjob (abandoned cart reminders)
– Customizable resend timer
– Country code and flag selection
– Shortcodes for embedding login anywhere
– Admin panel for MSG91 and plugin settings
– Customizable transactional SMS templates with dynamic variables (e.g., ##customer_name##, ##order_id##).
🎯 Shortcodes:
– [msg91_otp_form] – Display full-screen OTP login form anywhere (pages, posts, widgets).
🔧 Admin Settings:
– MSG91 Auth Key, Sender ID, Template IDs
– Enable/disable WhatsApp OTP option
– Country code options
– OTP resend timer settings
– Button/text color customization
– Post-login redirect URL
– OTP send limit per user/day
– Enable/disable specific SMS/WhatsApp features (registration, order, cart)
– Customizable SMS message templates with dynamic variables.
Configuration
- Get an MSG91 Account: This plugin requires an MSG91 account. If you don’t have one, you can sign up here.
- Enter Credentials: In the plugin settings, enter your MSG91 Auth Key, Sender ID, and DLT-approved Template IDs.
- Display the Form: Use the shortcode
[msg91_otp_form]on any page or add the CSS classotp-popup-triggerto a button/link to show the login form.
Support
We are committed to helping you succeed. To get you the fastest and most accurate help, please direct your query to the correct team.
For Plugin Issues & Configuration (Happy Coders Support)
If you need help with installing the plugin, configuring its settings in WordPress, encounter a bug, or have a feature request for the plugin itself, please use our official support channel.
Primary Support Channel: WordPress.org Support Forum
For MSG91 Service & Delivery Issues (MSG91 Support)
If your question is about the MSG91 service itself—such as your account, API key, billing, Sender ID approval, DLT templates, or SMS/WhatsApp delivery reports—you must contact the MSG91 support team directly. They are the experts on their platform and can assist you with all service-related inquiries.
Contact MSG91 Support: Visit the MSG91 Contact Page
屏幕截图
安装
- Upload the plugin to the
/wp-content/plugins/happy-coders-otp-logindirectory. - Activate it from the ‘Plugins’ menu in WordPress.
- Go to MSG91 OTP & SMS in the admin menu to configure the settings.
- Enter your MSG91 credentials and setup options.
- Add shortcodes to posts/pages/widgets for login.
常见问题
-
Do I need an MSG91 account?
-
Yes, this plugin is a connector for the MSG91 service. You must have an active MSG91 account. Sign up for MSG91 here.
-
How do I display the login form?
-
You have two easy options:
1. Shortcode: Place[msg91_otp_form]on any page, post, or text widget.
2. Popup/Modal: Add the CSS classotp-popup-triggerto any button or link. Example:<a href="#" class="otp-popup-trigger">Login here</a>. -
Is this compatible with WooCommerce?
-
Yes, it works with WooCommerce login and sends order status notifications via SMS/WhatsApp.
-
Can I disable certain SMS notifications?
-
Yes. In the “Transactional SMS Settings” tab, each notification type (new order, shipped, etc.) can be individually enabled or disabled with a simple toggle.
评价
贡献者及开发者
「Happy Coders OTP Login for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。
贡献者更新日志
2.1
- Feature: Introduced customizable transactional SMS message templates with dynamic variable support (e.g., ##customer_name##, ##order_id##).
- Tweak: Enhanced settings page to allow direct input of SMS message templates using descriptive variables.
- Fix: Ensured backward compatibility for existing SMS notes by repurposing the field for message templates.
2.0
- Fix: Corrected an issue where SMS settings were not being saved properly.
- Feature: Added a migration function to move old settings to a new format.
1.9
- Fix: General bug fixes and performance improvements.
1.8
- Fix: General bug fixes and performance improvements.
1.7
- Feature: Added support for sending OTPs via WhatsApp.
- Tweak: Improved UI and clarity on the settings pages.
- Fix: General bug fixes and performance improvements.
1.6
- Fix: Minor bug fixes and overall improvements for better performance and stability.
1.5
- Feature: Added automated SMS notifications for New User Registration, Order Placed, Order Shipped, Order Completed, and Abandoned Cart.
- Tweak: Enhanced admin settings UI for managing new transactional SMS features.
- Fix: Minor bug fixes and improvements.
1.0.0
- Initial release with OTP login features (full-screen and popup) and core MSG91 integration.







