metaregistrar / php-epp-client

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

No valid response class found for request class Metaregistrar\EPP\dnsbeEppTransferRequest #76

Closed pc-partner closed 7 years ago

pc-partner commented 7 years ago

When trying to do a transfer like this: try { $domain = new eppDomain($domainname); $domain->setAuthorisationCode($authcode); $transfer = new dnsbeEppTransferRequest(dnsbeEppTransferRequest::OPERATION_REQUEST, $domain); if ($response = $conn->request($transfer)) { / @var $response Metaregistrar\EPP\eppTransferResponse / echo $response->getDomainName(), " transfer request was succesful\n"; return true; } } catch (eppException $e) { echo $e->getMessage() . "\n"; return $e->getMessage() . "\n"; }

I get the error: No valid response class found for request class Metaregistrar\EPP\dnsbeEppTransferRequest

pc-partner commented 7 years ago

Any news?

metaregistrar commented 7 years ago

In the file Registries/dnsbeEppConnection/eppConnection.php there should be a line stating:

parent::addCommandResponse('Metaregistrar\EPP\dnsbeEppTransferRequest', 'Metaregistrar\EPP\eppTransferResponse');

This creates a connection to the response class for Metaregistrar\EPP\dnsbeEppTransferRequest

pc-partner commented 7 years ago

Correct. I had old version!