checkTransfer

%Plugin_Name%_CheckTransfer

Purpose

Use this function to check whether a domain is available for transfer.

Input Parameters

  • configarray: an array of parameters defined during the plugin configuration.
  • domainName: a name of the domain to check its transfer status.
  • additionalfields: supplementary data for further domain processing.

Return Parameters

The method returns array of the following structures:

  • status1 in case of success, 2 in case of failure;
  • renewRequired: 0 in case domain does not require renewal, 1 in case domain needs to be renewed.
  • msg: a user-friendly message about domain transfer status.

Mandatory

No

Example

function Example_CheckTransfer($params)
{
    $domainName = $params["domainName"];
    return array("status" => 1, "renewRequired" => 0, "msg" => "This domain is available for transfer");
}
CloudBlue, an Ingram Micro business, uses cookies to improve the usability of our site. By continuing to use this site and/or logging in you are accepting the use of these cookies. For more information, visit our Privacy Policy.