
This module is for resellers who sell VPS in their own WHMCS. When your customer pays, it buys the VPS in your MozOut account through our API and pays with your account credit. From then on, the customer manages the server in your WHMCS.
What it does
It creates the VPS, starts, stops and restarts it, takes backups and reinstalls the system, always taking a backup before a reinstall. It also buys an extra IP and disk, puts the IP on the WHMCS service and gives the customer a simple page to manage the server.
What you need
A working WHMCS, with access to its main folder (the one with configuration.php), and your MozOut account with an API key. You create the key in the API Center of My MozOut.
Installing, step by step
|
|
|
|
|
| Do not use "Download ZIP" on the code page. That zip adds an extra folder and WHMCS will not find the module. The right file is mozout_vps.zip, attached to the release. |
The API key and its permissions
The key needs these permissions: catalog:read, billing:purchase, vps:read, vps:write, vps:reinstall, hosting:read and services:cancel. See how to create a key and pick its permissions.
In the server username you can put sandbox or production, so the API refuses a key of the wrong mode. When you save the server, the module checks the key and shows the result at the top of the Servers page.
Testing without spending
Set up the product with a sandbox_ key. Purchases are simulated and nothing is charged. When everything works, swap it for a prod_ key.
Good to know
Suspend: the API does not suspend servers. On suspend, the module stops the server; on unsuspend, it starts it again.
Terminate: the cancellation is set for the end of the paid period, never right away.
Root password: the one from the delivery is emailed to your account. After a reinstall, the new password is in the service details in WHMCS.
Extra IP and disk: only the admin buys them, because they are paid with your credit.
Languages: texts show in Portuguese when the WHMCS language name starts with "portuguese", and in English otherwise. The product's "Message language" option can force one of the two.
Help
If the module shows an error you do not understand, open a support ticket and tell us the module version and the message you see. The code is in the module repository, under the MIT license.
|
Ready to sell VPS from your WHMCS? Download the latest release |
|
SEE ALSO Controlling a VPS through the API |
RECOMMENDED PRODUCT Reseller hosting with WHM Create, host and bill your own plans, under your own brand. from $35.57/mo (3-year plan, with coupon) See plans |











