Page 1 of 1

WHMCS module for MyVesta

Posted: Mon May 03, 2021 10:47 pm
by theprocss
Hi,

I am trying to use the WHMCS module from vesta to work with MyVesta
1. I did whitlisted the IP that hosting my WHMCS. this: viewtopic.php?f=9&t=39
2. I downloaded the http://c.vestacp.com/0.9.8/rhel/whmcs-module.php and changed the port from 8083 to my server port 22080.

The problem is the secret URL. lets say my secret URL is ilovedogs
Line 75. curl_setopt($curl, CURLOPT_URL, 'https://' . $params["serverhostname"] . ':22080/api/?ilovedogs');
Line 95 logModuleCall('vesta','CreateAccount_UserAccount','https://'.$params["serverhostname"].':22080/api/?ilovedogs'.$postdata,$answer);

I did that change to all lines with links to the API.
But does not work.

Re: WHMCS module for MyVesta

Posted: Sat May 08, 2021 12:26 am
by myVesta
is it working if you delete file /usr/local/vesta/web/inc/login_url.php ?