Jump to content

WHMCS Module for zPanel


levelkro

Recommended Posts

Hello, today I post my first module for WHMCS.

This module can create, suspend and unsuspend user for zPanel.

 

When you create, the user was added to zPanel and after the domain for the hosting was created.

Suspend and Unsuspend take the option of zPanel to enable/disable an user.

 

I have modified some file from Web Service of zpanel beacause I have found some bugs and need to modify some inputs to fit with WHMCS.

 

Tested with WHMCS 5.1.2 and zPanel 10.0.1 on CentOS 6.3, my WHMCS and zPanel are not on same server.

 

Note

You need to known your API key, you can found them in the SQL of zPanel, you can use PHPmyAdmin ou the module SQL Buddy to get the API Key, is needed to use the module.

 

CONFIGURATION

Little special thing, for get the right use of the API, you need to provide the Reseller ID and the API Key. WHMCS don't support to add my own option in the server configuration. For this reason, I need to specify how to setup the server.

 

Enter the Username and Admin Password (like zadmin)

In the Hash key, inter the Reseller ID you are (if is zadmin is 1) and the API key seperate by a ','.

In the final the code look like: 1,41872db168a3923eb7994e83f6dc4b7d

 

Download link

/http://levelkro.net/download/whmcs/WHMCS_zPanel_1.0_levelkro.net.rar v1.0

Is free, just wait few seconds and download start!

 

Next version

*** Need modification and add many code to WebService of zPanel

- Create a FTP account for default domain

- Terminate and delete all config of user (now only delete for display, I don't known for what)

- Change Password

- Change Package

 

 

Thank to help me by report any bugs and comments.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated