WHMCS - CWP api integration

Started by Yahyaalkasem, March 22, 2023, 12:12:10 AM

Previous topic - Next topic

Yahyaalkasem

Hello,

i have searched a lot and read a lot about the integration and connecting API with WHMCS.
Tried a lot, but still not succeeded in connecting the two.
I already allowed port 2304 and allowed the IP adress and used the % option.
Still no succes.
When i go check the WHMCS servers;
Remote Usage Stats   --> No stats.
So it is not connecting:
I tried Ihoscwp module, all the same.

anybody has an idea how to solve this?

josemnunez

is the whmcs server on different ips? If so, you have to open port 2304 on both servers

Yahyaalkasem

As i stated before,
Port 2304 is open, are on the same ip adress and ip adress is allowed on firewall.
And is whitelisted on whmcs..
I still get no info nor packages on my whmcs.
I even tried another server module (ioscwp), still the same.

josemnunez

The current cwp-whmcs module only allows to create, change, suspend and delete accounts in the cwp. we are working on a new module to import cwp accounts to whmcs but this is not ready yet

Yahyaalkasem

i cant create accounts nor select packages from my cwp-panel.
I have cronjobs updating every 5min, timezone is right.
Is there a way to solve this or maybe i am doing something wrong?

josemnunez

check the permissions of the api,

Yahyaalkasem

Peemissions are set according WHMCS api button, i suppose they are okey
Account : add, upd,del,list,susp,unsusp
Automatic login : list
Change password : upd
Packages : add , upd, del, list

Function cluster cwp non selected

Yahyaalkasem

Quote from: josemnunez on March 22, 2023, 11:52:44 AM
check the permissions of the api,

I was reading a bit and found out that
I am missng :

usr/local/cwp/.conf/api_key.conf
And
usr/local/cwp/.conf/api_allowed.conf

Could this be the cause?

josemnunez

follow the instructions in the cwp module for whmcs or hire a support service to do this for you

Starburst

Make sure the base IP & IP for you WHMCS is whitelisted in the CWP servers also.

Yahyaalkasem

Whitelisted on both, cwppro and whmcs.
Support will handle this, will update soon