New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

WHMCS

Started by skylide, April 04, 2020, 01:38:55 PM

Previous topic - Next topic

skylide

Good morning all,
I am under Cwp 7. I installed the WHMCS module at this address: https://billing.arnaud-dupont.tech/.
I create a customer account and I try to order for a free offer for example. Once I have purchased the accommodation offer. I end up with an access from the control panel on a bad link. Is this normal?
here is the link in question when we try to access the link from the customer panel on whmcs.
https://billing.arnaud-dupont.tech/U

you can try the site, of course

ymtech

#1
I was having the same issue so I dug into it and found that the API permissions were not correct so you need to update the API permissions you currently gave WHMCS in CWP -> API Manager. The official guide does not mention all the permissions this module for WHMCS needs.

The official guide over at http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api states
QuoteUse the following permissions:
-add, edit, suspend, unsuspend and delete accounts
-edit packages
-change Password

I'd suggest that the CWP team changes the wording, as according to the cwp7.php included in the whmcs module, the correct permissions are as follows:
Quote
Account: del, susp, unsp, list, udp
Autologin: list
Change of password: udp
Packages: udp