RenewDomain
%Plugin_Name%_RenewDomain
Purpose
Use this function to initiate renewal of a domain.
Input Parameters
configarray
: an array of parameters defined during the plugin configuration.sld
: a second-level domain name.tld
: a top-level domain name.regperiod
: a domain renewal period.additionalfields
: supplementary data for further domain processing.
Note: If the Local Presence service is being enabled for a domain, CloudBlue Commerce passes the LOCAL_PRESENCE parameter with the value 1 in the additionalfields
parameter of the method request.
Return Parameters
additionalfields
: an associative array of type'key' => 'value'
: only strings allowed for bothkey
andvalue
.
Mandatory
No
Example
function Example_RenewDomain($params) { $sld = $params["sld"]; $tld = $params["tld"]; $additionalfields = $params["additionalfields"]; $period = $params["regperiod"]; }