Resellers : ke domains API

This article explains how to download and install the api.

Last Updated 17th December  2015

Instructions on the installation of the module

    1.Download the file here
    2. Upload and extract the module into the main WHMCS directory.
    3. Log into https://EACdirectory.co.ke/domains/clientarea.php to get the API Key. See screenshots below












API Key Show

    4. Log in to your whmcs and go to Setup → Products/Services → Domain Registrars and activate module.
    5.Set credentials for the API connection you received in step (3).
    6. .Add the below code at the end of 'additionaldomainfields.php' file located at 'includes/additionaldomainfields.php'.


    if(!defined('DS'))
        define('DS',DIRECTORY_SEPARATOR);
    $filename = dirname(__FILE__).DS.'..'.DS.'modules'.DS.'registrars'.DS.'eacdirectory'.DS.'eacdirectory.php';
    if(file_exists($filename)){
        require_once ($filename);
        $fields = eacdirectory_GetDomainFields();
        if(is_array($fields))
            $additionaldomainfields = $fields;     
    }


  7. Go back to client area on https://EACdirectory.co.ke/domains/clientarea.php and open a ticket to give us your server IP so that we can whitelist it
 


Important:

Ensure that your account with EAC directory has credit for any registration / renewals to work



Thank you


  • Email, SSL
  • 9 Users Found This Useful
Was this answer helpful?