- PHP 92.6%
- Go Template 7.4%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .github | ||
| modules/servers/interweb_mz_vps | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| README.pt.md | ||
| repo.json | ||
Interweb Mozambique WHMCS VPS 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
For resellers who sell VPS in their own WHMCS. When your customer pays, the module buys the VPS in our account through the API, with your account credit. Your customer manages the server in the client area of your WHMCS.
Install
- Copy
modules/servers/interweb_mz_vpsinto the same folder of your WHMCS. - Setup > Servers > Add server: module "VPS Interweb Mozambique (API)", hostname
api.interweb.co.mz(for exampleapi.interweb.co.mz), password = API key. In the username you can putsandboxorproduction, so the API refuses a key of the wrong mode. - In the product, Module tab: choose the brand plan and the cycle.
- System and data center: create configurable options with the same names as the brand plan, or in the
id|nameformat (option and choice), with the ids fromGET /v1/catalog/products/{id}. - Key permissions:
catalog:read,billing:purchase,vps:read,vps:write,vps:reinstall,hosting:readandservices:cancel. Use asandbox_key to test.
What it does
Create, start, stop, restart, backups, reinstall with a backup first, extra IP and disk (admin buttons), the IP on the WHMCS service and a simple client area.
Languages
The code is in English. The texts live in lang/english.php and lang/portuguese.php. In the admin area they follow the admin's language and in the client area the client's language: any WHMCS language whose name starts with "portuguese" (portuguese-pt, portuguese-br...) uses Portuguese, every other language uses English. The "Message language" option of the product can force English or Portuguese for the module messages; "Automatic" is the default.
Good to know
- The API does not suspend servers: on suspend the module stops the server; on unsuspend it starts it.
- Terminate records the cancellation for the end of the paid period, never right away.
- The root password of the delivery is emailed to your account. After a reinstall, the new password is in the service details in WHMCS.
- Extra IP and disk are bought only by the admin, because they are paid with your credit.
- Product settings saved with version 1.0.0 keep working.
Maintained by RLX Holdings.