metaregistrar / php-epp-client

Object-oriented PHP EPP Client
https://www.metaregistrar.com/docs/
MIT License
214 stars 160 forks source link

eppCheckRequest #31

Closed karborator closed 8 years ago

karborator commented 8 years ago

Hello , I'm trying to check availability of domain, following checkdomains.php example. what should I pass to eppCheckRequest at the construct ? when i do try : $response = $this->checkdomains($conn, 'epptest.ficora.fi'); error message appears : "Error 2400: Command faile"

        $response = $this->checkdomains($conn, 'epptest.ficora.fi'');

When I pass eppDomain obj to checkdomains function , following err message appears: "Error 2005: Parameter value syntax error"

        $eppDoamin = new eppDomain('epptest.ficora.fi');
        $eppDoamin->setAuthorisationCode('*********');
        $response = $this->checkdomains($conn, $eppDoamin);

Interesting if I try to check "domain.fi" return "is taken" ( works )

Thanks

metaregistrar commented 8 years ago

You are checking a third-level domain name epptest.ficora.fi. That is not possible.

The domain name you have selected is not a domain name you can check. You can check ficora.fi. Or anynameyoucanthinkof.fi

But the domain name can only contain one dot. Not more.

karborator commented 8 years ago

Ok thanks :+1: