A WHMCS module for the Sentora control Panel AND a Sentora module for WHMCS
These modules allow WHMCS to create users, suspend, unsuspend, terminate, change password and change packages on Sentora
WHMCS Module tested on version 5.3.12, 5.3.13 and 5.3.14, OS: CentOS 6.5, CentOS 7, Debian 8
Sentora Module tested on Sentora 1.0.0 - 1.0.3, OS: CentOS 7, Debian 8
Sentora Module tested on AWServer ZPanelX v2.1, OS: Windows 7
Status page tested on Windows 7 running WAMP and CentOS 7 running Sentora
WHMCS Module: Mathieu Légaré
ZPanel Module: Knivey
Rynoxx
MarkDark - ZPanelX compatability updates
WHMCS installed (doesn't have to be on the same machine as the sentora installation(s))
The WHMCS and Sentora installation running on PHP 5.4 or above
The Sentora module requires the following default modules to function (enabled by default): manage_clients and domains
zppy repo add zppy.grid-servers.net
zppy update
zppy install whmcs
http://url.toyoursentora.tld/?module=moduleadmin
http://url.toyoursentora.tld/?module=whmcs
If you're having trouble with terminating clients through WHMCS
sentora/modules/manage_clients/code/webservice
to be this:
module_controller::ExecuteDeleteClient($contenttags['uid'], empty($contenttags['moveid']) ? 1 : $contenttags['moveid']);
Instead of this.
module_controller::ExecuteDeleteClient($contenttags['uid']);
Download the whmcs.zip from your the WHMCS module in your Sentora panel Located here: http://url.toyoursentora.tld/?module=whmcs
Extract it to the root directory of your WHMCS installation, e.g.
/home/username/public_html/billing/ (cPanel has this folder structure, in this case billing is the directory where you installed WHMCS)
/var/sentora/hostdata/username/public_html/domainname/ (Sentora has this folder structure, in this case WHMCS installed directly to the domain root)
In the WHMCS admin panel, navigate to "Setup" -> "Product/Services" -> "Servers" and add a new server
Set the IP Address of the server to the domainname or ip you use to access your Sentora installation (and if you're running a port which isn't 80 (for non HTTPS) or 443 (for SSL))
Set the Server Status Address to http://url.toyoursentora.tld/modules/whmcs/assets/status.php
where example.com should be replaced by the domain (or IP) of your Sentora installation (And replace http with https if you're running a secure server)
Set the nameservers to whichever points to your sentora installation
Set the server type to "Sentora". Leave Username and Password empty and in the access hash put NUM,API-KEY
where NUM
is the user id of the reseller account (leave it as 1
to be zadmin) and the API-KEY
can be found on the WHMCS module page in Sentora.
Tick the "Secure" box if you want WHMCS to connect to your server using HTTPS instead of HTTP
Create a server group for you sentora servers, and add your created server(s) to it.
In WHMCS admin panel, navigate to "Setup" -> "Products/Services" -> "Products/Services" and add a new product
Go to the 'Module Settings' tab, it's the only tab which within the scope of this guide.
Set 'Module Name' to 'Sentora'
Set the 'Server Group' to the one you created in step 3.6
Set 'Package Name' to the exact package name of the package you want as configured in Sentora
Leave 'Reseller' unticked if you're unsure.
Tick 'Auto-Create DNS Records' if you want the domains created through WHMCS to automatically have default DNS records (email, ftp, www, etc) created in Sentora, this is required if you want your clients to be able to use your nameservers without them manually creating the default records.
Written by conceptr980
- Create New Server/Edit Server
- Create New Product
- WHMCS View/Search Clients
To update the Sentora module enter the following command to your terminal:
zppy update
zppy upgrade whmcs
To update the WHMCS module repeat the first two steps of the installation
This work is licensed under the GPL-V3 License
@[Rynoxx]
) include the problem and the output of the WHMCS debug log