One free plugin for the three reasons a Malaysian WordPress site sends SMS: verification codes, order updates and promotions. It sends through HantarSMS from RM0.20 per SMS, with no monthly fee, and handles the parts that are easy to get wrong: bots running up your bill, duplicate sends and unsubscribe.
Get it on WordPress.org Free · GPLv2 · WordPress 6.2+ · PHP 7.4+ · WooCommerce optional
Listed in the WordPress.org plugin directory. In WordPress go to Plugins → Add New, search for HantarSMS, click Install Now and activate. You can also download the zip and upload it yourself.
[hantarsms_otp_login] shortcode.hantarsms_otp_send( $phone, 'my-form' ) and hantarsms_otp_verify( $phone, $code, 'my-form' ).If you would rather write the flow yourself, our PHP and WordPress OTP guide has complete code, and OTP SMS in Malaysia covers delivery speed and message wording.
{shop}, {first_name}, {last_name}, {order_number}, {order_total}, {status}, {payment}, {order_url}.Marketing SMS in Malaysia needs consent under the PDPA. Our PDPA guide explains what that means in practice, and SMS marketing in Malaysia covers what to send and when.
You can keep the key out of the database by adding define( 'HANTARSMS_API_KEY', 'sk_live_...' ); to wp-config.php.
The plugin is free. SMS are paid from your prepaid HantarSMS balance at the same rate as the console and the API: RM0.20 per segment, lower automatically as your volume grows, with no monthly fee and credit that does not expire. One segment holds 156 characters of plain English or 66 characters with Chinese or emoji. See pricing and the segment calculator.
The plugin sends nothing until you enter an API key. After that it sends the recipient number, the message text and a short reference to the HantarSMS API for each SMS, and reads your balance when you open its settings. The send log in WordPress masks phone numbers and never stores OTP codes; entries are deleted after 180 days. Uninstalling the plugin removes its settings, tables and user data.
Yes. The plugin is free and open source (GPLv2). You only pay for the SMS you send, from your prepaid HantarSMS balance, from RM0.20 per segment.
No. OTP login, SMS marketing and the unsubscribe page work on any WordPress site. WooCommerce adds order SMS and the consent checkbox at checkout.
Malaysian mobile numbers only. Customers can type them in any common format, such as 012-345 6789 or +60123456789; anything that is not a Malaysian mobile number is skipped and shown before you send.
No. Messages come from the shared short code 66886, which cannot receive replies. That is why the plugin includes an unsubscribe page and can add its link to every campaign.
No. Order SMS are queued with Action Scheduler and sent in the background after the order is saved.
Yes. It is listed in the WordPress.org plugin directory as HantarSMS, so you can install it from Plugins → Add New inside WordPress and get updates automatically.
Create a HantarSMS account, claim RM1 of trial credit on WhatsApp, paste your API key into the plugin and send yourself a test SMS.