WHMCS Provisioning Module for BountySite

Introduction

Automate BountySite Service Provisioning via WHMCS Module. This module uses BountySite Provisioning API to create, suspend, unsuspend, terminate BountySite Services for sites. Using this module, you can let WHMCS manage billing and let the module take care of provisioning. Each API call needs sitename and email address to map to respective customer. As on 20 Aug 2018, customer has to be created manually before provisioning. The core function of the module:-

  • gps_fixedCreating
  • gps_fixedUpgrading
  • gps_fixedRenewing
  • gps_fixedSuspending
  • gps_fixedUnsuspending
  • gps_fixedTerminate
Installation


BountySite WHMCS

Download the WHMCS module for Bountysite which can provision the package what are all configured with WHMCS package.

It contains the needed functions for Creating account with BountySite, suspending package, renew package, upgrading package etc.


 $ wget -O whmcs-bountysite-module.tar.gz https://www.bountysite.com/downloads/whmcs-bountysite-module.tar.gz
                      

Once you finish downloading the plugin file, extract in the following path in whmcs installation folder. If your installation folder is /home/whmcs/www/whmcs/ then


$ cd /home/whmcs/www/whmcs 
$ ## Now go to modules/servers
$ cd  modules/servers
$ ## create directory bountysite
$ mkdir bountysite
$ cd bountysite 
$ tar xvzf  ~/whmcs-bountysite-module.tar.gz  
LICENSE
bountysite.php

                 
Configuration

  • arrow_forwardLogin to WHMCS Admin and Go to
  • settings -> product/services -> product/services

  • arrow_forwardClick on Create a New Group .



  • arrow_forwardCreate new Product Group Name as BountySite .Others are optional. Click on Save Changes.




  • arrow_forwardThen click on Create a New Product.




  • arrow_forwardSelect Product Group as BountySite and Enter the name of the product in Product Name.
    Eg: Application Security




  • arrow_forwardCreate separate products for each packages you want to serve.
  • arrow_forwardClick on the edit button to configure the product.




  • arrow_forward Select the Module Settings tab and follow the instructions to configure the products according to the packages.



  • 1. From the drop down, select the module name called BountySite
  • 2. Get API Key and URL details

    Login to your BountySite control panel. On top navigation bar, click on second last button, with tooltip "Settings". Then choose, Get API Key

    Top menu API Key page


    Manage API Key ACL

    Manage API Key ACL page:-

    • chevron_righta : Click on Copy button to copy API Host/URL to your clipboard, for API URL
    • chevron_rightb : Click on Copy button to copy API Key to your clipboard, for API Key
    • chevron_rightc : By default API is blocked for public access. To allow your host to make API calls, add your public internet IPaddress in CIDR format(x.x.x.x/32 or range x.x.x.x/28). You can give multiple IPs separated by commas.
  • 3. Enter API URL as
    https://partnerbrand.bountysite.com/BSAPIv1/ProvisioningAPI/
    PROVISIONING API
  • 4. Enter the package name which can be obtained from the BountySite Control panel
  • 5. Enable debug to store the response from the api in module log.
  • 6. Add Partner name .
arrow_upward