Author Topic: Whmcs - Module Create Failed  (Read 6238 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Whmcs - Module Create Failed
« on: December 26, 2020, 01:31:00 PM »

Hello, I'm making a trial purchase on whmcs to check automation with cwp, however I verified that when paying the invoice or activating the package on whmcs a user and password is created on cwp with your plan, but on whmcs the same returns an error saying that there is already a username and password created with the same data with the log below. Remembering that it was the whmcs that created the user.




Module Create Failed - Service ID: 4 - Error: Username hostinge already exists in database![/b]

Offline
*****
Re: Whmcs - Module Create Failed
« Reply #1 on: December 26, 2020, 05:54:44 PM »
Which CWP module for CWP are you using?

There are 2 out there for some reason.

We are using WHMCS 8.0.4 with CWP Servers running 0.9.8.1028

This is the module you should be using:
http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api dated 30MAR20.

http://dl1.centos-webpanel.com/files/3rdparty/whmcs/cwp7.zip


Need any help, just ask.

Offline
*****
Re: Whmcs - Module Create Failed
« Reply #2 on: December 29, 2020, 07:56:21 AM »
Which CWP module for CWP are you using?

There are 2 out there for some reason.

We are using WHMCS 8.0.4 with CWP Servers running 0.9.8.1028

This is the module you should be using:
http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api dated 30MAR20.

http://dl1.centos-webpanel.com/files/3rdparty/whmcs/cwp7.zip


Need any help, just ask.

yes this is the module.

Offline
*
Re: Whmcs - Module Create Failed
« Reply #3 on: January 03, 2021, 03:16:49 PM »
Which CWP module for CWP are you using?

There are 2 out there for some reason.

We are using WHMCS 8.0.4 with CWP Servers running 0.9.8.1028

This is the module you should be using:
http://wiki.centos-webpanel.com/whmcs-module-for-cwp-api dated 30MAR20.

http://dl1.centos-webpanel.com/files/3rdparty/whmcs/cwp7.zip


Need any help, just ask.





yes, i am using this module, i have already uninstalled and installed again and i have used different versions of whmcs but i was not successful.

Whenever the mudulo is creating the account in cwp whmcs returns an error 502

whmcs is on the same server as cwp and I'm using ngnix as a web server

Offline
*****
Re: Whmcs - Module Create Failed
« Reply #4 on: January 03, 2021, 08:05:24 PM »
I think you might have just found your problem.

WHMCS logs into another server to create the account.
You need to have the IP assigned to WHMCS whitelisted, so it can connect without problems.
In the CWP API all you need to do is check WHMCS and the IP of the WHMCS server.

Since you are trying to do everything on the same server, that could be the problem.

For security it's always recommended you have separate servers.
If a user gains access to root, they would have access to your emails and WHMCS database. Plus more.

It doesn't matter if your using Apache or Nginx.