Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: itzdaniel483 on March 05, 2019, 12:17:36 AM

Title: WHMCS Order accept error (Array)
Post by: itzdaniel483 on March 05, 2019, 12:17:36 AM
Hello,

I cannot get the WHMCS module to work. The order does not automatically create and when I go to manually activate it it throws an error with nothing but the word "Array".

I think it might be my API. The API seems to be trying to access itself from the static IP as when I click on one of the API functions it shows "https://192.168.0.150:2304..." I cannot access the api through my domain without it throwing a 404.

If I view the server api logs I get "unauthorized host"
Title: Re: WHMCS Order accept error (Array)
Post by: studio4host on March 05, 2019, 06:40:37 AM
try checking if your whmcs server ip is whitelisted in cwp api
Title: Re: WHMCS Order accept error (Array)
Post by: itzdaniel483 on March 05, 2019, 09:11:50 AM
Thanks for the response,

Im assuming I do that in the firewall?

They Ip is no different as they're on the same machine.
Title: Re: WHMCS Order accept error (Array)
Post by: studio4host on March 05, 2019, 01:48:10 PM
you would need to have on both hosts in firewall allow ip and also in cwp.admin in api configurationyou need to allow which ip can access api.