metaregistrar / php-epp-client

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

I cant make a Domain Transfer to DNS Belgium working #265

Closed sayoki closed 4 years ago

sayoki commented 4 years ago

The only response I receive = Error 2004: Parameter value range error

Did someone get this working?

metaregistrar commented 4 years ago

When creating the transfer, do you create an eppTransferRequest, or do you create a dnsbeEppTransferRequest?

Because a normal eppTransferRequest does not contain the fields that DNSBE requires.

sayoki commented 4 years ago

I tried both.

$transfer = new eppTransferRequest(eppTransferRequest::OPERATION_REQUEST,$domain);

$transfer = new dnsbeEppTransferRequest(dnsbeEppTransferRequest::OPERATION_REQUEST,$domain);

I did add the following code before connecting: $conn->useExtension("dnsbe-1.0");

And use Metaregistrar\EPP\dnsbeEppTransferRequest; at the top of my script.

I can't make it working. Creating new domains is no issue.

metaregistrar commented 4 years ago

The dnsbeEppTransferRequest takes more parameters than just the standard domain and operation parameters.

function __construct($operation, $object, $tech = null, $billing = null, $onsite = null, $registrant = null) {

You need to specify tech, billing, onsite and registrant parameters before issuing the request. That is why there is a different request from the standard one.

Because these parameters are missing, DNS Belgium is not accepting your transfer.

sayoki commented 4 years ago

transfer request was succesful