ForthFocus SMS is built for Indian WooCommerce stores that need DLT-ready transactional SMS, order notifications, OTP verification, and operational visibility in one place. It sends order-status notifications to customers and adds phone-number OTP verification to important store touchpoints such as login, registration, cart, and checkout.
It is built for production: instant order-status sends with optional async queue, a custom log table with filtering, search, retry and CSV export, per-template DLT enforcement, real rate-limiting on OTP requests and verifications, segment-aware authoring with live variable-syntax linting, HTTP diagnostics for gateway communication, and a 3-step setup wizard so first-time configuration takes minutes instead of hours.
The plugin currently supports SMSGatewayHub, ForthFocus SMS Gateway, Gupshup, Fast2SMS, 2Factor, and MSG91. Additional providers (Twilio, Kaleyra) are on the roadmap. The architecture is provider-agnostic — the same templates, OTP flows, and logging continue to work as new providers are added.
What makes it different
Most SMS plugins focus only on sending a message or adding a basic OTP form. ForthFocus SMS is focused on the Indian WooCommerce + DLT workflow: every enabled template needs its own provider-specific template mapping, template syntax is checked before sending, customer OTP flows are rate-limited, gateway responses are logged, balance checks are available inside WordPress, and Diagnostics shows the actual WordPress HTTP request lifecycle for supported gateway communication.
What it sends
- Order Processing: Online Payment — when a non-COD order moves to Processing
- Order Processing: Cash on Delivery — when a COD order moves to Processing
- Order Completed — when an order is marked Completed
- Order Cancelled — when an order is cancelled
- Order Refunded — when a refund is issued
- OTP for login — alongside the standard email/password login
- OTP for registration — verify the phone number before account creation
- OTP at checkout — verify the phone before the customer hits “Place Order” (cuts down on fake / COD fraud orders)
Why DLT compliance matters
In India, every commercial SMS must use a sender ID and template registered on the DLT (Distributed Ledger Technology) portal of your telecom operator. Sending unregistered content gets rejected at the operator side, often silently. This plugin enforces DLT correctness at every layer:
- Each template requires its own DLT Template ID or MSG91 Flow ID before it can be enabled.
- The plugin refuses to send any template that has no active-provider mapping — and logs the attempt so you can see what was skipped and why.
- A live syntax linter catches the most common authoring mistakes (
{order_id)instead of{order_id},{#var#}placeholders pasted verbatim from the DLT portal) before they cause silent rejections.
Privacy
- The plugin sends data to the configured SMS gateway only when an SMS-related action is performed, such as sending an order notification, sending an OTP, testing a template, or refreshing the SMS balance where the selected provider supports a balance API.
- For SMS sending, the data sent to the selected gateway may include the recipient phone number, rendered SMS message body, sender ID/mask, route, channel, Entity ID/principalEntityId, DLT Template ID, provider credentials, and a unique provider message ID where supported.
- For balance checks, the plugin sends the required provider credentials to the selected gateway’s balance endpoint where available. MSG91 does not currently provide a wallet balance API, so the plugin links to the MSG91 dashboard instead of calling a balance endpoint.
- Plugin scripts, styles, and images are loaded locally from the plugin folder. The plugin does NOT load anything from external CDNs or third-party servers on either admin or customer-facing pages.
- The plugin does NOT send usage analytics, telemetry, tracking events, or call-home data to ForthFocus.
- OTP codes are hashed (with a per-phone salt) before storage. Plaintext OTP codes are redacted from log entries.
- Store owners are responsible for ensuring that their SMS use complies with applicable consent, privacy, telecom, DLT, and customer communication rules.
External services
This plugin connects to the SMS gateway selected by the site owner to send transactional SMS messages and fetch SMS balance information where the selected provider supports it. A gateway account, API key/Auth Key, approved sender ID/Header, Entity ID or provider-side DLT setup, and approved templates/flows are required for live SMS delivery.
The plugin currently supports the following gateway endpoints:
https://www.smsgatewayhub.com/api/mt/SendSMS— used when the site owner sends an SMS through SMSGatewayHub, such as an order-status notification, OTP message, or template test. The plugin sends the recipient phone number, rendered message body, sender ID, route, channel, Entity ID, DLT Template ID, and the site’s SMSGatewayHub API key.https://www.smsgatewayhub.com/api/mt/GetBalance— used when the dashboard or gateway settings page fetches the SMSGatewayHub balance. The plugin sends the site’s SMSGatewayHub API key.https://sms.forthfocus.com/api/mt/SendSMS— used when the site owner sends an SMS through ForthFocus SMS Gateway, such as an order-status notification, OTP message, or template test. The plugin sends the recipient phone number, rendered message body, sender ID, route, channel, Entity ID, DLT Template ID, and the site’s ForthFocus SMS Gateway API key.https://sms.forthfocus.com/api/mt/GetBalance— used when the dashboard or gateway settings page fetches the ForthFocus SMS Gateway balance. The plugin sends the site’s ForthFocus SMS Gateway API key.https://enterprise.smsgupshup.com/GatewayAPI/rest— used when the site owner sends an SMS through Gupshup, such as an order-status notification, OTP message, or template test. The plugin sends the recipient phone number, rendered message body, approved sender ID/mask, Gupshup User ID, and Gupshup Password. For Gupshup, sender ID, entity, and DLT template mapping must be configured on the Gupshup account.https://enterprise.smsgupshup.com/apps/apis/accInfo— used when the dashboard or gateway settings page fetches the Gupshup balance. The plugin sends the site’s Gupshup User ID and Password.https://www.fast2sms.com/dev/bulkV2— used when the site owner sends an SMS through Fast2SMS, such as an order-status notification, OTP message, or template test. The plugin sends the recipient phone number, rendered message body, Fast2SMS Authorization Key, DLT-approved sender ID, Entity ID, DLT Template ID, and the fixeddlt_manualroute.https://www.fast2sms.com/dev/wallet— used when the dashboard or gateway settings page fetches the Fast2SMS wallet balance. The plugin sends the site’s Fast2SMS Authorization Key.https://2factor.in/API/R1/— used when the site owner sends an SMS through 2Factor, such as an order-status notification, plugin-generated OTP message, or template test. The plugin sends the recipient phone number, rendered DLT-approved message body, 2Factor API Key, Sender ID/Header, PE ID, and DLT Template ID through the Transactional SMS API. The plugin does not use 2Factor’s OTP generation or OTP verification APIs.https://2factor.in/API/V1/{API_KEY}/ADDON_SERVICES/BAL/TRANSACTIONAL_SMS— used when the dashboard or gateway settings page fetches the 2Factor Transactional SMS balance. The plugin places the site’s 2Factor API Key in the endpoint path as required by the provider.https://api.msg91.com/api/v5/flow/— used when the site owner sends an SMS through MSG91 SMS Flow API, such as an order-status notification, plugin-generated OTP message, or template test. The plugin sends the recipient phone number, MSG91 Flow ID, Sender ID/Header, and variable values. The site’s MSG91 Auth Key is sent in the request header. DLT Template ID, PE ID, approved content, and variable mapping must be configured inside the customer’s MSG91 account and flow.- MSG91 balance: MSG91 confirmed that no wallet balance API is currently available. For MSG91, the plugin does not call a balance endpoint and instead links the admin to the MSG91 dashboard.
SMS content and phone numbers are sent to the selected gateway only when the site owner enables the plugin and performs an SMS-related action or when a configured WooCommerce/OTP event triggers an SMS.
Service provider: SMSGatewayHub Terms and Conditions: https://www.smsgatewayhub.com/terms-and-conditions Privacy Policy: https://www.smsgatewayhub.com/privacy-policy API Documentation: https://www.smsgatewayhub.com/free-sms-gateway-developer-api
Service provider: ForthFocus SMS Gateway Terms and Conditions: https://forthfocus.com/terms-and-conditions/ Privacy Policy: https://forthfocus.com/privacy-policy/ Website: https://forthfocus.com/
Service provider: Gupshup Website: https://www.gupshup.ai/ Terms and Conditions: https://www.gupshup.ai/terms-and-conditions Privacy Policy: https://www.gupshup.ai/privacy-policy
Service provider: Fast2SMS Website: https://www.fast2sms.com/ Terms and Conditions: https://www.fast2sms.com/terms-conditions API Documentation: https://docs.fast2sms.com/
Service provider: 2Factor Website: https://2factor.in/ Terms and Privacy: https://2factor.in/v3/tos API Documentation: https://documenter.getpostman.com/view/301893/TWDamFGh
Service provider: MSG91 Website: https://msg91.com/ API Documentation: https://docs.msg91.com/ Dashboard: https://control.msg91.com/
Compatibility
The plugin works on both classic (shortcode-based) and block-based WooCommerce checkout, but the depth of integration differs:
- Classic checkout (
[woocommerce_checkout]shortcode, used by Storefront, Astra, GeneratePress, Flatsome, URNA, Dokan-style themes, and any site with the WC checkout shortcode) — full integration. The OTP gate renders above the checkout form, the billing phone field is automatically locked to the verified number once verification is complete, and the user uses a “Change phone” link if they need to switch numbers. - Block-based checkout (the new WC Checkout Block, used by Twenty Twenty-Five and other FSE themes by default) — basic integration. The OTP gate renders above the checkout block. The billing phone field inside the React-managed block cannot be locked from outside the block API, so the user is technically able to edit it after verifying. However, the server-side Store API guard rejects order placement if the submitted phone does not match the verified number — so the verification is still enforced, just at submission rather than at the field level. Tightening this into a native checkout-block extension is on the v1.1 roadmap.
For the strictest UX and behavior (auto-locked phone field, no possibility of submitting a mismatched number), use the classic checkout. To switch from block-based to classic on a Twenty Twenty-Five site, edit the Checkout page and replace the “Checkout” block with the [woocommerce_checkout] shortcode.
Setup wizard
A 3-step setup wizard guides you through:
- Gateway selection and credentials (provider-specific credentials such as API key, Fast2SMS Authorization Key, 2Factor API Key, or Gupshup User ID/Password, sender ID/mask, route/channel where applicable, and DLT details where applicable)
- Notification templates (DLT ID + approved message body for each order event you want to notify on)
- OTP verification (which flows to enable, and the OTP message templates)
You can re-run the wizard from the Dashboard at any time, or skip it entirely if you prefer to configure manually.
Trademark Notice
ForthFocus is a trademark of FORTHFOCUS GROUP.
WordPress, WooCommerce, and Woo are trademarks of their respective owners. This plugin is not affiliated with, endorsed by, sponsored by, or officially associated with the WordPress Foundation, Automattic Inc., WooCommerce, or Woo.
SMSGatewayHub, MSG91, Gupshup, Fast2SMS, 2Factor, Twilio, and Kaleyra are trademarks or brands of their respective owners. This plugin currently integrates with SMSGatewayHub, ForthFocus SMS Gateway, Gupshup, Fast2SMS, 2Factor, and MSG91. Twilio and Kaleyra are referenced only as examples of additional providers planned for future releases. The plugin is not officially endorsed by or affiliated with third-party gateway brands unless stated through a formal partnership.
