Re: [w3c/browser-payment-api] Should the merchant be able to request your email and recipient phone number (#1)

If we are going to allow the website to request multiple different pieces of data then the mechanism for doing this should be more generic and extensible to accommodate new items in future.

Instead of:

```javascript
{
  "requestShipping": true
  "requestEmail": true
  "requestPhoneNumber": true
}
```

We should have:

```javascript
{
  "requestUserInfo": ["postalAddress", "email", "telephone"];
}
```
Refs:
https://schema.org/PostalAddress
https://schema.org/email
https://schema.org/telephone

---
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/1#issuecomment-207092492

Received on Thursday, 7 April 2016 21:21:08 UTC