- From: Rouslan Solomakhin <notifications@github.com>
- Date: Fri, 20 May 2016 19:35:58 -0700
- To: w3c/browser-payment-api <browser-payment-api@noreply.github.com>
- Cc:
Received on Saturday, 21 May 2016 02:36:28 UTC
> 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