- From: Nick Shearer <notifications@github.com>
- Date: Mon, 14 Nov 2016 10:20:36 -0800
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
Received on Monday, 14 November 2016 18:21:33 UTC
Currently the specification defines a `PaymentDetailsModifier` sequence which can be used to apply modifications to the total and display items as appropriate for the currently selected payment method: https://w3c.github.io/browser-payment-api/#dom-paymentdetailsmodifier However, the specification does not define the user agent behavior in the case where this sequence contains multiple `PaymentDetailsModifier` objects for the same payment method. This needs to be defined, otherwise user agents risk implementing differing behaviors that could result in incorrect amounts being charged. I would suggest since this is a sequence stating the first entry to match a payment method will be used as its modifier. Alternatively, we could say supplying multiple modifiers for a single payment instrument is not allowed and throw a `TypeError`. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/browser-payment-api/issues/309
Received on Monday, 14 November 2016 18:21:33 UTC