Vigiar
1
0
Derivar
Você já tinha feito uma derivação do repositório wordpress-sms-center-plugin, anteriormente
0
wordpress-sms-center-plugin/README.md
2026-12-01 15:26:32 +02:00

3,2 KiB

MozOut WordPress SMS Center plugin

Release License: MIT

Português

Step-by-step guide in our Knowledgebase.

API: https://api.mozout.com, built in. Create your key in the API Center of My MozOut. Documentation: https://docs.mozout.com

WordPress and WooCommerce plugin for SMS. It uses only our public API, with your account key. Works in Portuguese and English.

What it does

  • Order alerts: an SMS when the order is received, paid, shipped, completed, cancelled or refunded, and a new order alert to your mobile. Each alert turns on separately, with texts in pt and en.
  • Send SMS: one message to many people from the dashboard (numbers you write, WooCommerce customers, or both). A review step shows the count and the cost before anything goes out.
  • Order page: a box to send an SMS to the customer of that order. The message is noted in the order.
  • Test and log: test send, connection test with the SMS balance, and the last 50 events.

Install

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

Languages

  • The code is in English. Translations are gettext files in mozout-sms-center/languages (.pot, and .po with .mo for pt_PT, pt_BR and pt_AO).
  • "Same as WordPress" follows the WordPress language; "Português" or "English" fixes the plugin language. Order alerts go in each customer's language.
  • After changing texts: python3 -I tools/i18n-check.py --pot, translate in the .po files, python3 -I tools/build-mo.py and python3 -I tools/i18n-check.py.

The key

  • Create it in the API Center of My MozOut, with sms:read and sms:write. A sandbox_ key simulates every send and spends nothing.
  • It is stored 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.

Good to know

  • Each alert goes out in the background (Action Scheduler) and only once per order and event, so a retry never sends twice.
  • Mass sends go in batches of 500, up to 5,000 numbers at a time, with an Idempotency-Key per batch.
  • The "Shipped" status comes from the plugin. If a shipping plugin already adds one, choose it in "Status that means shipped" and turn ours off.
  • It can run next to the MozOut Connect plugin. If both send order SMS, turn the alerts on in only one of them.
  • Optional constants in wp-config.php: MOZOUT_SMS_CENTER_API_KEY, MOZOUT_SMS_CENTER_ENCRYPTION_KEY.

Requirements: WordPress 6.0 or newer, PHP 7.4 to 8.5, OpenSSL extension. WooCommerce 7.0 or newer for the order alerts.


Maintained by RLX Holdings.