Hello All:
Was trying to post the question to the forum "Tips, Tricks & Howto's"--but posting there seems disabled now.
I noticed that the default modules coming with WHMCS for some domain resellers like Resell.biz or NetEarthOne are not working with some of the ccTLDs that require additional domain fields (that is additional information such a national ID, birth date, etc.). If such TLDs are defined in the file /includes/additionaldomainfields.php, then it works. But only a few are (by default) ... and those mentioned resellers do not provide their own additionaldomainfields.php. All those modules are based on LogicBoxes, and WHMCS then refers to the Resellerclub module as base module (at least that is my understanding).
When I try to register a Russian .ru domain, first of all there are no fields for national ID and birth date showing in the order form, but further I am getting this ERROR:
Domain Registration Failed - Domain ID: XXXX - Domain: XXXXX.ru - Error: Required parameter missing: attr-value1
And I believe the reason for the "attr-value1" error is based on this--I quote:
"EU, .NZ, .RU and .UK domain names do not have an Administrative Contact associated with them. You need to pass the value of admin-contact-id as -1 for these domain names."
(http://freeaccount.myorderbox.com/kb/answer/758)
Does anyone know how to create an entry for "additionaldomainfields.php" that would do this ... "pass the value of admin-contact-id as -1" ??
I like to add this:
here is a SAMPLE code -- this is for .uk domains, the entry as it comes in the WHMCS-supplied "additionaldomainfields.php". According to above info what applies to .ru also applies to .uk (as regards to passing on the value of admin-contact-id as -1) .... but looking at the code I do not understand where this would be done. Maybe you understand/see it?
--------------
$additionaldomainfields[".co.uk"][] = array("Name" => "Legal Type", "LangVar" => "uktldlegaltype", "Type" => "dropdown", "Options" => "Individual,UK Limited Company,UK Public Limited Company,UK Partnership,UK Limited Liability Partnership,Sole Trader,UK Registered Charity,UK Entity (other),Foreign Organization,Other foreign organizations", "Default" => "Individual",);
$additionaldomainfields[".co.uk"][] = array("Name" => "Company ID Number", "LangVar" => "uktldcompanyid", "Type" => "text", "Size" => "30", "Default" => "", "Required" => false,);
$additionaldomainfields[".co.uk"][] = array("Name" => "Registrant Name", "LangVar" => "uktldregname", "Type" => "text", "Size" => "30", "Default" => "", "Required" => true,);
$additionaldomainfields[".net.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".org.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".me.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".plc.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".ltd.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".co.uk"][] = array("Name" => "WHOIS Opt-out", "LangVar" => "uktldwhoisoptout", "Type" => "tickbox",);
--------------
Best,
John
Was trying to post the question to the forum "Tips, Tricks & Howto's"--but posting there seems disabled now.
I noticed that the default modules coming with WHMCS for some domain resellers like Resell.biz or NetEarthOne are not working with some of the ccTLDs that require additional domain fields (that is additional information such a national ID, birth date, etc.). If such TLDs are defined in the file /includes/additionaldomainfields.php, then it works. But only a few are (by default) ... and those mentioned resellers do not provide their own additionaldomainfields.php. All those modules are based on LogicBoxes, and WHMCS then refers to the Resellerclub module as base module (at least that is my understanding).
When I try to register a Russian .ru domain, first of all there are no fields for national ID and birth date showing in the order form, but further I am getting this ERROR:
Domain Registration Failed - Domain ID: XXXX - Domain: XXXXX.ru - Error: Required parameter missing: attr-value1
And I believe the reason for the "attr-value1" error is based on this--I quote:
"EU, .NZ, .RU and .UK domain names do not have an Administrative Contact associated with them. You need to pass the value of admin-contact-id as -1 for these domain names."
(http://freeaccount.myorderbox.com/kb/answer/758)
Does anyone know how to create an entry for "additionaldomainfields.php" that would do this ... "pass the value of admin-contact-id as -1" ??
I like to add this:
here is a SAMPLE code -- this is for .uk domains, the entry as it comes in the WHMCS-supplied "additionaldomainfields.php". According to above info what applies to .ru also applies to .uk (as regards to passing on the value of admin-contact-id as -1) .... but looking at the code I do not understand where this would be done. Maybe you understand/see it?
--------------
$additionaldomainfields[".co.uk"][] = array("Name" => "Legal Type", "LangVar" => "uktldlegaltype", "Type" => "dropdown", "Options" => "Individual,UK Limited Company,UK Public Limited Company,UK Partnership,UK Limited Liability Partnership,Sole Trader,UK Registered Charity,UK Entity (other),Foreign Organization,Other foreign organizations", "Default" => "Individual",);
$additionaldomainfields[".co.uk"][] = array("Name" => "Company ID Number", "LangVar" => "uktldcompanyid", "Type" => "text", "Size" => "30", "Default" => "", "Required" => false,);
$additionaldomainfields[".co.uk"][] = array("Name" => "Registrant Name", "LangVar" => "uktldregname", "Type" => "text", "Size" => "30", "Default" => "", "Required" => true,);
$additionaldomainfields[".net.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".org.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".me.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".plc.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".ltd.uk"] = $additionaldomainfields[".co.uk"];
$additionaldomainfields[".co.uk"][] = array("Name" => "WHOIS Opt-out", "LangVar" => "uktldwhoisoptout", "Type" => "tickbox",);
--------------
Best,
John