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:
status
–1
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"); }