Quote From : MadStu July 26, 2018, 9:48 pm But here is the line which tells WHMCS that the account was terminated..
mysql_query("UPDATE tblhosting SET domainstatus='Terminated' WHERE id='" . $hosting_ID . "'");
$hosting_ID is determined from from a mysql query which uses $vpsid to narrow it's search down.
And $vpsid is received from the Virtualizor server post:
// Get the variables
$hash = $_POST['hash'];
$acts = $_POST['act'];
$vpsid = (int) $_POST['vpsid'];
$extra = $_POST['data'];
I think if you can use the VPS IP to narrow the mysql query, or a combination of both IP / vpsid, it would work better.
Hi,
After considering your request we've added check for combination of both IP and vpsid in callback.
If you want patch then please open a support ticket so we can provide patch with instructions.
Let us know if you need any further information.
----------------------- -----------------------
Regards,
Kaushal Vora
Virtualizor Team.
http://virtualizor.com/ |