metaregistrar / php-epp-client

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

Additional parameters #37

Closed kevinvdburgt closed 8 years ago

kevinvdburgt commented 8 years ago

Hi,

Is there a way to append additional parameters such as X-IT-SECT3-LIABILITY for .it domains.

Request:

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0" xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns:contact="urn:ietf:params:xml:ns:contact-1.0" xmlns:host="urn:ietf:params:xml:ns:host-1.0" xmlns:keysys="http://www.key-systems.net/epp/keysys-1.0" xmlns:secDNS="urn:ietf:params:xml:ns:secDNS-1.1">
  <command>
    <create>
      <domain:create>
        <domain:name>xxx.it</domain:name>
        <domain:ns>
          <domain:hostObj>ns1.xxx.nl</domain:hostObj>
          <domain:hostObj>ns2.xxx.nl</domain:hostObj>
        </domain:ns>
        <domain:registrant>xxx</domain:registrant>
        <domain:contact type="admin">xxx</domain:contact>
        <domain:contact type="tech">xxx</domain:contact>
        <domain:contact type="billing">xxx</domain:contact>
        <domain:authInfo>
          <domain:pw>xxx</domain:pw>
        </domain:authInfo>
      </domain:create>
    </create>
    <clTRID>xxx</clTRID>
  </command>
</epp>

Response:

<?xml version="1.0" encoding="UTF-8"?>
<epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
  <response>
    <result code="2003">
      <msg>Required parameter missing</msg>
      <value>
        <text>Missing required attribute; X-IT-SECT3-LIABILITY is not agreed on.</text>
      </value>
    </result>
    <trID>
      <clTRID>xxx</clTRID>
      <svTRID>xxx</svTRID>
    </trID>
  </response>
</epp>
metaregistrar commented 8 years ago

See my other answer, please add this to the Extensions part of keysys-1.0