AfriCC/php-epp2

when create or transfer domains how to set the fees?

Opened this issue · 3 comments

when create or transfer domains how to set the fees?

https://tools.ietf.org/html/draft-brown-epp-fees-02#section-3.2.1

Hi! You can create extension to support fees as they are not part of standard but rather extension to standard. This projects welcomes pull requests :) pt., 15 mar 2019 o 16:59 QuYu.Net notifications@github.com napisał(a):

when create or transfer domains how to set the fees? https://tools.ietf.org/html/draft-brown-epp-fees-02#section-3.2.1 C: C: C: C: C: <domain:create C: xmlns:domain="urn:ietf:params:xml:ns:domain-1.0"> C: domain:nameexample.com</domain:name> C: <domain:period unit="y">2</domain:period> C: domain:ns C: domain:hostObjns1.example.net</domain:hostObj> C: domain:hostObjns2.example.net</domain:hostObj> C: </domain:ns> C: domain:registrantjd1234</domain:registrant> C: <domain:contact type="admin">sh8013</domain:contact> C: <domain:contact type="tech">sh8013</domain:contact> C: domain:authInfo C: domain:pw2fooBAR</domain:pw> C: </domain:authInfo> C: </domain:create> C: C: C: <fee:create xmlns:fee="urn:ietf:params:xml:ns:fee-0.5"> C: fee:currencyUSD</fee:currency> C: fee:fee5.00</fee:fee> C: </fee:create> C: C: ABC-12345 C: C: — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#71>, or mute the thread https://github.com/notifications/unsubscribe-auth/AKMVFet5pZz4Kd0SgfkRREBRzs8iXoKXks5vW8NUgaJpZM4b2yeS .
-- Pozdrawiam, Hubert Kowalski

can provide the code example? thank you!

Sure - please look inside src/AfriCC/EPP/Extension files and have a go at it :)