Vigiar
1
0
Derivar
Você já tinha feito uma derivação do repositório whmcs-sms-center-module, anteriormente
0
whmcs-sms-center-module/README.md
2026-11-28 15:28:08 +02:00

47 linhas
2,8 KiB
Markdown

# MozOut WHMCS SMS Center module
<!-- badges:start -->
[![Release](https://git.mozout.com/mozout-com/whmcs-sms-center-module/badges/release.svg)](https://git.mozout.com/mozout-com/whmcs-sms-center-module/releases) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
<!-- badges:end -->
[Português](README-pt.md)
> API: `https://api.mozout.com`, built in. Create your key in the [API Center](https://www.my.mozout.com/api-center.php) of My MozOut. Documentation: https://docs.mozout.com
English | [Português](README-pt.md)
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/mozout_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_mozout_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.