WHMCS Licensing Module

From SitePad Wiki
Jump to: navigation, search

Overview

Do you want to Resell SitePad licenses from WHMCS ?
This guide will help you to setup WHMCS licensing module to resell SitePad Licenses. Setting this up is very easy.

Download and Upload

Download the Module : File:SiteMush license.zip

Unzip it and upload the files sitepad.php and noc_api.inc to the following path

/path/to/whmcs/modules/servers/sitepad/

Editing a Product/Service

This guide assumes you have already setup WHMCS and created your product. You can find detailed guides on the WHMCS Wiki. Once the Product is setup you can move ahead with setting up the Module.

Setup Module

This option can be found while editing the Product/Service in Module Settings Tab.

  • Select the Module Name as SitePad.
  • Enter the Softaculous NOC account details i.e. Softaculous Username and Softaculous Password. These details are required as the licenses will be issued under this account.

Note : This account should be a NOC account because the API can be used only by NOCs.

  • Now choose the option when you want the module to be executed. Just remember that SitePad license will be issued as per the method you select to execute the module.

When to Create license.png

Once you are done hit the Save Changes button and that's it you are done.

Testing the Setup

You can test the setup by making a DUMMY Order and going to the settings of that order.

Edit Order license.png

Creating Account

Edit Screen license.png

Then click on the Create button to create the account on the server.
You will see a Box shown in the following image

Create Account License.png

Success Message

When the page reloads the following message will be shown in case of success :

Debug Successful license.png

Error Message

Incase of Failure errors will be shown :

Debug Failure license.png

Similarly you can test the Suspend, Unsuspend, Terminate, View License commands.

  • In case of Suspend the Auto Renewals of the license will be cancelled (if any).
  • In case of Terminate the license will be cancelled and if the license was issued less than 7 days ago the transaction will be refunded.
  • In case of View License you will be redirected to Softaculous Client Center.

Edit IP

  • Users can also Edit the IP from the Product details page.
  • Enter the New IP and click on Change IP button.
  • The IP will be changed on SitePad licensing servers.

Edit IP.png

Support

If you need any assistance then please contact SitePad Support. Please send us a screenshot of the Order Form and the Custom Fields you added to the Product.

Vote

If you find this addon useful please vote for us :
https://www.whmcs.com/members/communityaddons.php?action=viewmod&id=1042