SMS Center plugin for WordPress: SMS order notices for WooCommerce and bulk SMS from the dashboard

API & DocumentationWordPress, Websites & Automation·· 90 views· 3 min read

If SMS is all you need on your WordPress site, this plugin is enough. It tells WooCommerce customers when their order changes status and lets you send one message to many people from the dashboard. It uses only our public API, with the key of your MozOut account.

What it does

Order notices: an SMS when the order is received, paid, shipped, completed, cancelled or refunded, and a new order notice to your phone. Each notice turns on separately, with texts in pt and en.

Send SMS: one message to numbers you type, to WooCommerce customers, or to both. Before anything goes out, a review step shows the count and the cost.

Order page: a box to send an SMS to the customer of that order. The message is saved as a note on the order.

Test and log: a test send, a connection test with your SMS balance, and the last 50 events.

What you need

WordPress 6.0 or newer, PHP 7.4 to 8.5 and the OpenSSL extension. For order notices, WooCommerce 7.0 or newer. And an API key, created in the API Center of My MozOut.

Installing, step by step

1 Download the latest release.
2 Copy the mozout-sms-center folder to wp-content/plugins/. You can also build a zip with tools/build-zip.sh and upload it in Plugins > Add New.
3 Activate the plugin and open Settings > MozOut SMS Center.
4 Paste the API key and click "Test the connection".

The API key and its permissions

The key needs sms:read and sms:write. It is kept encrypted (AES-256-GCM, with the WordPress security keys) and never shown again. You can define MOZOUT_SMS_CENTER_API_KEY in wp-config.php instead. See how to create a key and pick its permissions.

Testing without spending

A sandbox_ key simulates every send and spends nothing. Try the notices with a test order, then move to a prod_ key.

Good to know

Never twice: each notice goes out in the background (Action Scheduler), only once per order and event. A retry never sends it again.

Mass sends: they go in batches of 500, up to 5,000 numbers at a time, with an Idempotency-Key per batch.

The "Shipped" status: it comes from the plugin. If a shipping plugin already adds one, choose it in "Status that means shipped" and turn ours off.

With the full plugin: it can run next to the all-in-one plugin. If both send order SMS, turn the notices on in only one of them.

Help

If an SMS does not go out, check the last events in the plugin first. If the error is not clear, open a support ticket and tell us the plugin version and the message. The code is in the plugin repository, under the MIT license.

Ready to text your customers?

Download the latest release

SEE ALSO

WooCommerce order updates by SMS

Creating an API key

The repository on MozOut Git

SDKs and integrations, in the API documentation

RECOMMENDED PRODUCT

WordPress hosting

One-click install, updates handled, and speed that holds up. from $6.60/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.