Re: [w3c/browser-payment-api] editorial: clarify that payment handler data is converted (#536)

Neither of the two cases you state are the ones I am worried about. The one I am worried about is

```js
const methodData = [{
  supportedMethods: ["basic-card", "nonbasic-card"],
  data: { supportedTypes: "credit" }
};
```

where nonbasic-card does not support the "credit" type (instead e.g. only "debit" or "giftcard").

I'd like the WG to discuss and pick one of the following:

1. If data applies to any of the supportedMethods, then show() works, presenting a UI for the subset of supportedMethods that accept the data.
1. Only if data applies to *all* of the supportedMethods does show() work; otherwise it rejects.

If a position on this was previously documented please link me to it :). I don't otherwise feel comfortable changing this in an "editorial" PR.

-- 
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/536#issuecomment-303996517

Received on Thursday, 25 May 2017 12:17:55 UTC