Page tree
Skip to end of metadata
Go to start of metadata
Supported VersionsLast Updated
1.14.00 & higher2013/05/07

The callback feature (Admincp > Settings >  Configuration > Callback) allows SolusVM to notify WHMCS when a specific action is performed.

 

The following actions are supported:

  • Suspend
  • Unsuspend
  • Terminate
  • Change Hostname
  • Add/Remove IP
  • Change Root Password
  • Reinstall

 

  1. Edit the settings to suit your environment.

 

2. For callbacks to work download/copy the following php script and put it within the modules/solusvmpro folder on your WHMCS installation.

Download

3. Edit the script and set the 3 required security variables:

	/**
			* @var $admin_user
			* The username of a administrator in your whmcs. 
			*/

			$admin_user = "admin";

			/**
			* @var $security_hash
			* The hash as shown in SolusVM. 
			*/

			$security_hash = "1a2b3c4d5e";

			/**
			* @var $connection_ip
			* The ip address of your SolusVM master. 
			*/

			$connection_ip = "10.0.0.1";	
		

 

4. For more security rename the script to a filename of your choice.

  • No labels