Re: [w3c/browser-payment-api] Add billing shipping type (#409)

Billing address requirement depends on payment methods. So, bitcoin, for example, would not need it, but credit cards do need it. Therefore, I'd prefer that we keep billing address in method-specific data. I suggest that you send a patch to "Basic Card" spec, which has billing address in https://w3c.github.io/webpayments-methods-card/#basiccardresponse. I'm in support of something like this:
```javascript
new PaymentRequest([{
    supportedMethods: ['basic-card'],
    data: {requiredFields: ['billingAddress']}
  }], shoppingCart);
```

-- 
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/409#issuecomment-275459974

Received on Thursday, 26 January 2017 17:53:59 UTC