Re: [w3c/browser-payment-api] The "data" member of PaymentMethodData doesn't seem to actually be used for anything (#338)

Here's an example for a merchant that accepts only debit cards, regardless of whether they are passed in the raw via `'basic-card'` or encrypted via `'tokenized-card'`.

```javascript
new PaymentRequest(
    [{
        supportedMethods: ['basic-card', 'tokenized-card'],
        data: {supportedTypes: ['debit']}
    }],
    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/issues/338#issuecomment-267378870

Received on Thursday, 15 December 2016 16:51:07 UTC