Re: [provreg] Fwd: New Version Notification for draft-brown-epp-fees-01.txt

Seth Goldman <sethamin@google.com> Thu, 08 May 2014 15:54 UTC

Return-Path: <sethamin@google.com>
X-Original-To: provreg@ietfa.amsl.com
Delivered-To: provreg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E1CB71A007B for <provreg@ietfa.amsl.com>; Thu, 8 May 2014 08:54:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.029
X-Spam-Level:
X-Spam-Status: No, score=-2.029 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.651, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fsj2mPoYksiW for <provreg@ietfa.amsl.com>; Thu, 8 May 2014 08:54:56 -0700 (PDT)
Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [IPv6:2607:f8b0:400c:c01::231]) by ietfa.amsl.com (Postfix) with ESMTP id 5D0541A0079 for <provreg@ietf.org>; Thu, 8 May 2014 08:54:56 -0700 (PDT)
Received: by mail-ve0-f177.google.com with SMTP id db11so3478365veb.8 for <provreg@ietf.org>; Thu, 08 May 2014 08:54:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WQluNhx1j3XB/T34iPYuRFtGzE4BdWjybOS0mcggrXY=; b=Vk3CDf3iE0hHDMAsuSljrMvjcWKJG1WD7trhAFCIS+XYcl3HEdfKEniX42UHoLkMwa A/rZlWZnu3ZgokeRPkPSTiWg1Pv/MDuL9jkvFsf3PPDKC0xYUe1DCI6IAho8dzpmOwBx lq+s9rSUf/KnLZN6ZnkLK5kVayVYsGITBhgzK5yNDguC+RMWWdoD9c3S/9/MBYuw+Dw4 y1pUBVGe22BFMRxWgbCW0TjJFKv/2TF4IcAt/E0gB5COm/zRx8qHVgghWm55w1F8cDhp Junmd2NuabmkoJe+Vj0ZtB2uea7WRfoLXZJcMjZPEXkpwhYW1R4QsG0yFtau1vgJNnhh 6DFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=WQluNhx1j3XB/T34iPYuRFtGzE4BdWjybOS0mcggrXY=; b=T4yOzPisoZ+H8UYt4ZuRHPkw5rxWJTnqESZ5pPWsf4sO0oSd9aRQJSOxKYYPXb8yJ2 ZFahr13puIyq6v69rryYTnw0QgUY8N8m/tFIPubR4SYg2QvJyCWIrrcOxDU7uxr0o0ZP /2jrEgbbfyUlVGjdRvlZVTR/SwCnRdnFnD5beKDKbz04zjvYliAPyf7nD+weNY1Ld+WA Ad91647Ig480BPMtqw0X2T3p1EBzgwS9pcN3XfNbZPcUBYuuN5B7qUbRkpJO1I1oUFn1 +7Xny3MITB5JT/MGz26rnLi68CgvQHKr2HyT+3D0eu+fT9/QGhHDRSVso9WH+JhVvP2K 9L9w==
X-Gm-Message-State: ALoCoQnP9AseEaI1g4WUZNkp9U71ACc9MQyfowge3K8X1lCaIZvSn3F/8AmMna1eGkK0FmoisUcB
MIME-Version: 1.0
X-Received: by 10.58.30.75 with SMTP id q11mr1953757veh.37.1399564491476; Thu, 08 May 2014 08:54:51 -0700 (PDT)
Received: by 10.52.117.171 with HTTP; Thu, 8 May 2014 08:54:51 -0700 (PDT)
In-Reply-To: <536BA5D2.9010205@hexonet.net>
References: <CF7FD1F2.5DB6E%jgould@verisign.com> <53628077.8070402@centralnic.com> <536BA5D2.9010205@hexonet.net>
Date: Thu, 08 May 2014 11:54:51 -0400
Message-ID: <CAAHh_-J+o3ssgTRm=9XVrNuGWC-BYjOny3fVdSazLwESz-iGQw@mail.gmail.com>
From: Seth Goldman <sethamin@google.com>
To: Jens Wagner <jwagner@hexonet.net>
Content-Type: multipart/alternative; boundary="089e013a04fa5ae93d04f8e58006"
Archived-At: http://mailarchive.ietf.org/arch/msg/provreg/KOPHYL1uT4wDAMZTlj3gK3NcoZw
Cc: EPP Provreg <provreg@ietf.org>
Subject: Re: [provreg] Fwd: New Version Notification for draft-brown-epp-fees-01.txt
X-BeenThere: provreg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: EPP discussion list <provreg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/provreg>, <mailto:provreg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/provreg/>
List-Post: <mailto:provreg@ietf.org>
List-Help: <mailto:provreg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/provreg>, <mailto:provreg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 May 2014 15:55:00 -0000

I think most/any of these scenarios are possible, depending on the
registry's business logic. For example, perhaps the price returned on an
<info> is different price than on a <check> because the registry has some
special incentive program for existing renewals versus new registrations
(assuming that's allowable under ICANN rules). Same might go for a repeated
<fee:domain> element.

In general, I'd advocate for making the protocol as flexible as possible
for expressing the data (within reason), while leaving the exact semantics
of that data as "server policy". Otherwise you end up embedding a lot of
business logic into the protocol, which then forces registries and
resellers to modify or add extensions when their use case doesn't exactly
match the canonical use case of the spec.

On Thu, May 8, 2014 at 11:42 AM, Jens Wagner <jwagner@hexonet.net> wrote:

>  Thank you Gavin!
>
> Got a couple of questions regarding the fee extension:
>
> 1. Is there are reason, that a client provides the <fee:currency> element
> when sending a query command, e.g. <check>?
>
> 2. Do the <fee:domain> elements in <fee:check> need to match the
> <domain:name> elements in <domain:check>?
>
> 3. May a <fee:domain> element for a single domain get repeated in
> <domain:check>, e.g. for different periods?
> E.g. useful, when providing a [period => price] dropdown in a shoppingcart:
>
>
> C:         <fee:domain>
> C:           <fee:name>example.com</fee:name>
> C:           <fee:currency>USD</fee:currency>
> C:           <fee:command>create</fee:command>
>
> C:           <fee:period unit="y">1</fee:period>
> C:         </fee:domain>
> C:         <fee:domain>
> C:           <fee:name>example.com</fee:name>
>
> C:           <fee:currency>USD</fee:currency>
> C:           <fee:command>create</fee:command>
> C:           <fee:period unit="y">2</fee:period>
> C:         </fee:domain>
> ...
>
> C:         <fee:domain>
> C:           <fee:name>example.com</fee:name>
> C:           <fee:currency>USD</fee:currency>
> C:           <fee:command>create</fee:command>
> C:           <fee:period unit="y">10</fee:period>
> C:         </fee:domain>
>
> Btw, this would not be needed, if supporting price classes.
>
> 4. Some registries return an error on <domain:info>, if a different
> registrar manages the domain, so <fee:infData> wouldn't get returned
> either, correct? Does <fee:info> have any advantage over <fee:check>?
>
> 5. The EPP <renew> command example should use <fee:renew> instead of
> <fee:create>?
>
> Best,
> - jens
>
>
> Am 01.05.2014 19:12, schrieb Gavin Brown:
>
> Thanks to all for the feedback. I am working on a revised draft that
> will use a single <fee:check> element in commands and a single
> <fee:chkData> element in responses.
>
> Here are some example commands and responses: let me know what you think.
>
> Thanks,
>
> C: <?xml version="1.0" encoding="utf-8" standalone="no"?>
> C: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
> C:   <command>
> C:     <check>
> C:       <domain:check
> C:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
> C:         <domain:name>example.com</domain:name>
> C:         <domain:name>example.net</domain:name>
> C:         <domain:name>example.org</domain:name>
> C:       </domain:check>
> C:     </check>
> C:     <extension>
> C:       <fee:check
> C:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> C:         <fee:domain>
> C:           <fee:name>example.com</fee:name>
> C:           <fee:currency>USD</fee:currency>
> C:           <fee:command phase="sunrise">create</fee:command>
> C:           <fee:period unit="y">1</fee:period>
> C:         </fee:domain>
> C:         <fee:domain>
> C:           <fee:name>example.net</fee:name>
> C:           <fee:currency>EUR</fee:currency>
> C:           <fee:command phase="claims" subphase="landrush">
> C:           create</fee:command>
> C:           <fee:period unit="y">2</fee:name>
> C:         </fee:domain>
> C:         <fee:domain>
> C:           <fee:name>example.org</fee:name>
> C:           <fee:currency>EUR</fee:currency>
> C:           <fee:command>transfer</fee:command>
> C:         </fee:domain>
> C:         <fee:domain>
> C:           <fee:name>example.xyz</fee:name>
> C:           <fee:command>restore</fee:command>
> C:           <fee:period unit="y">1</fee:period>
> C:         </fee:domain>
> C:       </fee:check>
> C:     </extension>
> C:     <clTRID>ABC-12345</clTRID>
> C:   </command>
> C: </epp>
>
> S: <?xml version="1.0" encoding="utf-8" standalone="no"?>
> S: <epp xmlns="urn:ietf:params:xml:ns:epp-1.0">
> S:   <response>
> S:     <result code="1000">
> S:       <msg>Command completed successfully</msg>
> S:     </result>
> S:     <resData>
> S:       <domain:chkData
> S:         xmlns:domain="urn:ietf:params:xml:ns:domain-1.0">
> S:         <domain:cd>
> S:           <domain:name avail="1">example.com</domain:name>
> S:         </domain:cd>
> S:         <domain:cd>
> S:           <domain:name avail="0">example.net</domain:name>
> S:           <domain:reason>In use</domain:reason>
> S:         </domain:cd>
> S:         <domain:cd>
> S:           <domain:name avail="0">example.org</domain:name>
> S:           <domain:reason>In use</domain:reason>
> S:         </domain:cd>
> S:       </domain:chkData>
> S:     </resData>
> S:     <extension>
> S:       <fee:chkData
> S:         xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.com</fee:name>
> S:           <fee:currency>USD</fee:currency>
> S:           <fee:command phase="sunrise">create</fee:command>
> S:           <fee:period unit="y">1</fee:period>
> S:           <fee:fee description="Application Fee">5.00</fee:fee>
> S:           <fee:fee description="Registration Fee">5.00</fee:fee>
> S:         </fee:cd>
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.net</fee:name>
> S:           <fee:currency>EUR</fee:currency>
> S:           <fee:command phase="claims" subphase="landrush">
> S:           create</fee:command>
> S:           <fee:period unit="y">2</fee:period>
> S:           <fee:fee>5.00</fee:fee>
> S:         </fee:cd>
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.org</fee:name>
> S:           <fee:currency>EUR</fee:currency>
> S:           <fee:command>transfer</fee:command>
> S:           <fee:period unit="y">2</fee:period>
> S:           <fee:fee description="Transfer Fee">2.50</fee:fee>
> S:           <fee:fee description="Renewal Fee">10.00</fee:fee>
> S:         </fee:cd>
> S:         <fee:cd
> S:           xmlns:fee="urn:ietf:params:xml:ns:fee-0.5">
> S:           <fee:name>example.xyz</fee:name>
> S:           <fee:currency>GBP</fee:currency>
> S:           <fee:command>restore</fee:command>
> S:           <fee:period unit="y">1</fee:period>
> S:           <fee:fee description="Restore Fee">25</fee:fee>
> S:           <fee:fee description="Renewal Fee">5.00</fee:fee>
> S:         </fee:cd>
> S:       </fee:chkData>
> S:     </extension>
> S:     <trID>
> S:       <clTRID>ABC-12345</clTRID>
> S:       <svTRID>54322-XYZ</svTRID>
> S:     </trID>
> S:   </response>
> S: </epp>
>
>
>
>
> _______________________________________________
> provreg mailing listprovreg@ietf.orghttps://www.ietf.org/mailman/listinfo/provreg
>
>
> _______________________________________________
> provreg mailing list
> provreg@ietf.org
> https://www.ietf.org/mailman/listinfo/provreg
>
>