[w3c/browser-payment-api] Support different amounts per payment method. (#211)

This is a proposal for issue #4: Should it be possible to vary amounts depending on payment method.

The goal of this change is to make it simple for web developers in the majority case
when price does not vary by payment method. If a developer wishes to have a different
price for specific payment methods then they include a PaymentDetailsModifier that
includes the new total amount and optionally additional display items that are appended
to the main payment details display items for display. This allows the developer to
explain why the price is different due to a discount or surcharge, for example.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/browser-payment-api/pull/211

-- Commit Summary --

  * Support different amounts per payment method.

-- File Changes --

    M index.html (87)

-- Patch Links --

https://github.com/w3c/browser-payment-api/pull/211.patch
https://github.com/w3c/browser-payment-api/pull/211.diff

---
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/pull/211

Received on Wednesday, 8 June 2016 18:09:20 UTC