- PHP 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| modules/addons/interweb_mz_sms_center | ||
| .gitignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| README.pt.md | ||
| repo.json | ||
Interweb Mozambique WHMCS SMS Center module
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
- Copy the
modules/addons/interweb_mz_sms_centerfolder tomodules/addons/of your WHMCS. - In System Settings > Addon Modules, activate «SMS Center Notify» and give access to the admins who will use it.
- Open Addons > SMS Center Notify > Settings: choose the provider, paste the API key (with
sms:readandsms:write), pick the Sender ID and type your team numbers. - 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 thesms_optoutclient 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.