WHMCS Order accept error (Array)

Started by itzdaniel483, March 05, 2019, 12:17:36 AM

Previous topic - Next topic

itzdaniel483

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"

studio4host

try checking if your whmcs server ip is whitelisted in cwp api
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

itzdaniel483

Thanks for the response,

Im assuming I do that in the firewall?

They Ip is no different as they're on the same machine.

studio4host

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.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.