- From: Rouslan Solomakhin <notifications@github.com>
- Date: Wed, 23 Nov 2016 06:18:03 -0800
- To: w3c/webpayments-methods-card <webpayments-methods-card@noreply.github.com>
Received on Wednesday, 23 November 2016 14:18:39 UTC
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