WordPress plugin intelligence profile

HantarSMS – OTP & Marketing SMS for Malaysia

OTP login codes, WooCommerce order SMS and SMS marketing campaigns for Malaysian numbers, with consent and unsubscribe built in.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version1.0.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 6.2 · PHP 7.4
Directory statusactive
Last directory update23 Oct 20269d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records HantarSMS – OTP & Marketing SMS for Malaysia version 1.0.0 as active, updated 9d ago and tested up to WordPress 7.1.

Overview

About this plugin

HantarSMS connects your WordPress site to HantarSMS, a Malaysian SMS service that sends from a short code to Maxis, CelcomDigi, U Mobile, Unifi Mobile and YES numbers. 20 per SMS, no monthly fee.

One plugin covers the three reasons a Malaysian site sends SMS:

1. OTP verification codes

  • “Log in with an SMS code” on the WordPress login page, or anywhere with the [hantarsms_otp_login] shortcode.
  • Codes are random, stored only as a keyed hash, expire after a few minutes and allow five attempts.
  • Limits per phone number and per IP address stop bots from running up your SMS bill through your login form.
  • The form does not reveal whether a number belongs to an account, and no SMS is sent (or paid for) when it does not.
  • Administrators cannot log in with an SMS code alone, by default.
  • Developers can use hantarsms_otp_send() and hantarsms_otp_verify() in their own forms.

2. WooCommerce order SMS

  • An SMS to the customer when an order becomes Processing, Completed, Cancelled, Refunded and more — each status with its own editable template.
  • A new-order alert to your own phone numbers.
  • Placeholders such as {first_name}, {order_number}, {order_total} and {shop}.
  • Sent in the background with Action Scheduler, so checkout is never slowed down. Each SMS is noted on the order.
  • Compatible with High-Performance Order Storage and the block-based checkout.

3. SMS marketing campaigns

  • An optional, unticked “Send me offers by SMS” checkbox at checkout (classic and block checkout), and a consent setting on each user profile.
  • Write a campaign, see the character count, number of segments and estimated cost while you type, review, then send now or schedule it.
  • Send to everyone who agreed to marketing SMS, or paste your own list (you confirm you have consent).
  • Unsubscribe built in: recipients cannot reply to a short code, so the plugin creates an unsubscribe page and can add its link to every campaign. Unsubscribed numbers are removed from every marketing send.
  • Batches of up to 10,000 numbers per request, each with an idempotency key, so a retry never sends the same campaign twice.

Also included

  • Balance and price per SMS on the settings screen, and a test SMS button.
  • A log of every send with cost and any error, kept for 180 days. Phone numbers in the log are masked and OTP codes are never stored.
  • hantarsms_send_sms( $to, $text ) for developers, plus filters and actions to change messages and recipients.

Numbers can be typed in any Malaysian format: 0123456789, 012-345 6789, 60123456789 or +60123456789. Only Malaysian mobile numbers are supported.

External services

com/). It does nothing until you enter an API key from your HantarSMS account.

What is sent, and when:

  • When an SMS is sent (an OTP code, an order update, a campaign or a test), the plugin sends the recipient phone number(s), the message text and a short reference (such as “order-123-processing”) to https://hantarsms.com/api/v1/messages, together with your API key.
  • When you open the plugin’s admin screens, it requests your account balance from https://hantarsms.com/api/v1/balance, together with your API key.

No other data about your site or its visitors is sent. HantarSMS passes the phone numbers and message text to Malaysian mobile operators to deliver the SMS.

  • Terms of Service: https://hantarsms.com/en/terms
  • Privacy and data protection: https://hantarsms.com/en/pdpa-sms-compliance-malaysia
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • sms marketing
  • malaysia
  • otp
  • woocommerce
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.2 · PHP 7.4
Update activity23 Oct 20269d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.