Re: [w3c/browser-payment-api] Specification of required fields (#114)

> I'm suggesting a sequence string field that allows mandatory fields to
be specified

+1 from me here. This would look sensible to me:

````javascript
var request = new PaymentRequest([{
    supportedMethods: ["visa", "amex", "mastercard", "discover"],
    data: {
      requiredFields: ["cardNumber", "cardSecurityCode", "billingAddress.postalCode"]
    }
  }]);
````
This should be specified in [Basic Card Payment](https://w3c.github.io/browser-payment-api/specs/basic-card-payment.html), right?

---
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/114#issuecomment-220754071

Received on Saturday, 21 May 2016 02:36:28 UTC