WHMCS module for MyVesta

Post Reply
theprocss
Posts: 1
Joined: Mon May 03, 2021 3:17 pm

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.
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

is it working if you delete file /usr/local/vesta/web/inc/login_url.php ?
Post Reply