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

That is already rejected before this PR, since no payment handlers support that data, so the next step takes care of rejecting the promise.

What this PR starts rejecting is:

```
const methodData = [{
  supportedMethods: ["basic-card", "bitcoin"],
  data: { supportedTypes: "visa" }
};
```

because "bitcoin" doesn't support "visa".

Is that intentional? It seems wrong to me; instead it makes more sense to me to do what the spec currently says, and display UI for paying with basic-card/visa, and ignore the bitcoin supported method.

-- 
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-303923201

Received on Thursday, 25 May 2017 05:03:34 UTC