php-epp-client icon indicating copy to clipboard operation
php-epp-client copied to clipboard

How to use extensions

Open rugambafri opened this issue 2 years ago • 3 comments

$this->conn->setExtensions(["fee-1.0", "fee-0.23", "domain-ext-2.3", "ext-1.0"]); This code return error ,I don't no why . "code": "Error 2004: Unsupported extension '0'", "file": "/mnt/storage/rugamba/public_html/vendor/metaregistrar/php-epp-client/Protocols/EPP/eppResponses/eppResponse.php", "message": "Error 2004: Unsupported extension '0'"

rugambafri avatar Apr 27 '22 15:04 rugambafri

You cannot set multiple extensions with this call. Please do it one by one.

metaregistrar avatar Apr 28 '22 07:04 metaregistrar

I have an issue setting Extensions. I tried as described here setting only one Extension which led to the same error given. I fixed this by using "useExtension". This worked just fine but I keep getting a "not found" error on

urn:ietf:params:xml:ns:[changePoll-1.0] and https://www.nic.ch/epp/balance-1.0.

How can these two be implemented? It is not working with useExtension. Only secDNS-1.1 and rgp-1.0 are working.

Appreciate any help 👍

luggesexe avatar Aug 16 '22 15:08 luggesexe

I have an issue setting Extensions. I tried as described here setting only one Extension which led to the same error given. I fixed this by using "useExtension". This worked just fine but I keep getting a "not found" error on

urn:ietf:params:xml:ns:[changePoll-1.0] and https://www.nic.ch/epp/balance-1.0.

How can these two be implemented? It is not working with useExtension. Only secDNS-1.1 and rgp-1.0 are working.

Appreciate any help 👍

$this->Verbindung->enableDnssec(); $this->Verbindung->enableRgp(); $this->Verbindung->addExtension("changePoll-1.0", "urn:ietf:params:xml:ns:changePoll-1.0"); $this->Verbindung->addExtension("balance-1.0", "https://www.nic.ch/epp/balance-1.0");

Above seems to work.

luggesexe avatar Aug 16 '22 16:08 luggesexe