[w3c/webpayments-methods-card] Behavior when method-specific data is invalid (#20)

If someone writes this:
```javascript
new PaymentRequest([{supportedMethods: ["basic-card"], data: {supportedNetworks: 0}}], shoppingCart);
```
Should the constructor throw, because `supportedNetworks` must be a list according to this spec? The alternative is to pass this information to the payment app as-is and let it decide what to do with it. If we pass to the app, it would be great to clearly define the expected behavior for invalid method-specific data.

-- 
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/webpayments-methods-card/issues/20

Received on Wednesday, 23 November 2016 14:18:39 UTC