Posted By: jevingala on July 26, 2018, 8:22 am | Post: 1 |
Hi,
Have you set correct details of your servers in your callback files ?I assume you are not using the same callback file and path on your WHMCS and Virtualizor server. ----------------------- Regards, Virtualizor Team. http://virtualizor.com/ |
Posted By: MadStu on July 26, 2018, 9:51 pm | Post: 4 |
And of course, it doesn't only affect the terminations, but all of the callback cases |
Posted By: kaushal on July 27, 2018, 10:17 am | Post: 5 |
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/ |