[browser-payment-api] Change the way we request user data (#65)

This is a proposal to:

1. Change the way we request user data. It's now an array with a known set of strings that are supported. A similar model is followed by the [permissions api](http://w3c.github.io/permissions/).
2. Add support for the collection of phone and email. Email because it is used by the merchant to email a receipt of the transaction and phone because it is often required by shipping providers.

Note that the addition of phone and email doesn't also mean the addition of new event listeners. There are no implications to an email or phone that would require the merchant know these before the payment request is returned.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Change the way we request user data

-- File Changes --

    M specs/paymentrequest.html (31)

-- Patch Links --

https://github.com/w3c/browser-payment-api/pull/65.patch
https://github.com/w3c/browser-payment-api/pull/65.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/65

Received on Tuesday, 15 March 2016 19:07:36 UTC