W3C home > Mailing lists > Public > public-payments-wg@w3.org > February 2016

[paymentrequest] Constructor should not include "total" in list of items (#68)

From: Shane McCarron <notifications@github.com>
Date: Wed, 24 Feb 2016 14:54:04 -0800
To: WICG/paymentrequest <paymentrequest@noreply.github.com>
Message-ID: <WICG/paymentrequest/issues/68@github.com>
Right now the "total" cost of the transaction is reflected as an item in the items sequence of the details object.  This is an anti-pattern.  The total should be a separate item in that object (and, in fact, there should be no requirement for items - that is optional detail about the transaction). 

Reply to this email directly or view it on GitHub:
Received on Wednesday, 24 February 2016 22:54:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:14 UTC