WHMCS SMS notifications with Interweb Mozambique SMS Center: send WHMCS notifications by SMS https://docs.interweb.co.mz
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-28 09:43:39 +02:00
.github Add CI workflow and Dependabot 2026-11-28 09:16:31 +02:00
modules/addons/interweb_mz_sms_center Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
.gitignore Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
CHANGELOG.md Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
LICENSE Initial release (1.0.0) 2026-11-27 22:29:25 +02:00
README.md Add badges and improve description 2026-11-28 09:43:39 +02:00
README.pt.md Add badges and improve description 2026-11-28 09:43:39 +02:00
repo.json Add badges and improve description 2026-11-28 09:43:39 +02:00

Interweb Mozambique WHMCS SMS Center module

CI Release License: MIT

Português

API: https://api.interweb.co.mz, built in. Create your key in the API Center of Meu Interweb. Documentation: https://docs.interweb.co.mz

English | Português

An addon that sends SMS to your clients and your team through the SMS Center API, when it matters.

What it sends

  • To clients: order paid, invoice created, invoice reminder, invoice overdue, service activated, suspended or unsuspended, domain registered, domain expiring (30, 7 and 1 days before, your choice) and ticket reply.
  • To your team: new order and new ticket.

Each event is switched on and off on its own, and each one has a template in Portuguese and in English. Clients get it in the language of their account.

Install

  1. Copy the modules/addons/interweb_mz_sms_center folder to modules/addons/ of your WHMCS.
  2. In System Settings > Addon Modules, activate «SMS Center Notify» and give access to the admins who will use it.
  3. Open Addons > SMS Center Notify > Settings: choose the provider, paste the API key (with sms:read and sms:write), pick the Sender ID and type your team numbers.
  4. On the Test tab, send an SMS. With a sandbox_ key the SMS is simulated and uses no credits.

Good to know

  • The key is kept encrypted in the WHMCS database.
  • The addon creates the client field «I do not want SMS notices». Clients who tick it in their account details stop receiving them.
  • Accents are removed before sending, if the option is on: with accents, each SMS holds 70 characters instead of 160.
  • Every message goes to the Sending log, with its status and the reason for a failure (no credits, invalid number, revoked key).
  • Deactivating the addon keeps the settings, templates and log. To remove everything, drop the mod_interweb_mz_smsc_* tables and the sms_optout client field.

Languages (lang/)

The code holds the English texts only. The admin page texts are in lang/english.php and lang/portuguese.php, arrays where the key is the English text. The page follows the administrator's language; any WHMCS language whose name starts with «portuguese» (portuguese-pt, portuguese-br, ...) uses portuguese.php, the rest english.php. Errors written to the Sending log follow the «Default language» setting. A text missing from a file falls back to English. The SMS templates your clients get are separate: one per language, edited on the «Events and templates» tab.

Requirements: WHMCS 8, PHP 7.4 or 8.x with cURL, the WHMCS cron running (for expiring domains).


Maintained by RLX Holdings.