Ketyum
12-12-2005, 05:56 PM
I'am trying to register domains true the API of enom. The domain name and the nameservers are comming in correct. All the whois information aren't comming in.
Does some one have clue what to do.
Burhan
12-13-2005, 08:54 AM
Check the error response codes from the API. Unless you post any error messages or samples of your code, no one will be able to tell you what is the problem. Please learn how to ask a question properly (http://www.catb.org/~esr/faqs/smart-questions.html) so you have a better chance of getting a response.
Ketyum
12-13-2005, 07:48 PM
$Enom = new CEnomInterface;
$Enom->AddParam( "command", "Purchase" );
$Enom->AddParam( "uid", "$uid" );
$Enom->AddParam( "pw", "$pw" );
$Enom->AddParam( "tld", $tld );
$Enom->AddParam( "sld", $record->naam );
$Enom->AddParam( "RegistrantFirstName", "" );
$Enom->AddParam( "RegistrantLastName", $houder_naam );
$Enom->AddParam( "RegistrantAddress", $houder_straat );
$Enom->AddParam( "RegistrantCity", $houder_stad );
$Enom->AddParam( "RegistrantEmailAdress", $admin_email );
$Enom->AddParam( "RegistrantCountry", $houder_landcode );
$Enom->AddParam( "TechFirstName", "$tech_a" );
$Enom->AddParam( "TechLastName", "$tech_v" );
$Enom->AddParam( "TechAddress", "" );
$Enom->AddParam( "TechCity", "" );
$Enom->AddParam( "TechtCountry", "$houder_landcode" );
$Enom->AddParam( "AuxBillingFirstName", "$tech_a" );
$Enom->AddParam( "AuxBillingLastName", "$tech_v" );
$Enom->AddParam( "AuxBillingAddress", "" );
$Enom->AddParam( "AuxBillingCity", "" );
$Enom->AddParam( "AuxBillingAdress", "$tech_email" );
$Enom->AddParam( "AuxBillingPhone", "$tech_telefoon" );
$Enom->AddParam( "AuxBillingCountry", "$houder_landcode" );
$Enom->AddParam( "AdminFirstName", "$admin_v" );
$Enom->AddParam( "AdmintLastName", "$admin_a" );
$Enom->AddParam( "AdminAddress", "" );
$Enom->AddParam( "AdminCity", "" );
$Enom->AddParam( "AdminEmailAdress", "$admin_email" );
$Enom->AddParam( "AdminPhone", "$admin_telefoon" );
$Enom->AddParam( "AdminCountry", "$houder_landcode" );
$Enom->AddParam( "NS1", $ns1_naam );
$Enom->AddParam( "NS2", $ns2_naam );
$Enom->AddParam( "Renewname", "1" );
$Enom->AddParam( "EmailNotify", "1" );
$Enom->DoTransaction();
With this file i also use the basic files provided in the basic enom site.
I tryed this one with " and without ". But funny enough only mij credentials are viewed in the whois. But info like the domain itself, Namesevers are comming in correctly but not the whois data.
Burhan
12-14-2005, 03:25 AM
Are you sure your information is formatted correctly as per Enom's specifications? They changed the format of the whois information a while back.
taheri6
12-22-2005, 02:57 PM
that typically (but not always) means that the whois data you are sending is invalid or incomplete and thus it is discarded.
whois data must be complete and valid in all fields or else the entire whois for that section (registrant, auxbilling,admin,tech) will not be used and the resellers data would be used.
This could be as simple as a wrongly formatted phone number, or not sending in the stateprovincechoice etc. etc.