[w3c/browser-payment-api] canHandlePayment() might be in the wrong place? (#403)

If it's not too late, I'm wondering if we can move `canHandlePayment()` to be a static on the `PaymentRequest` interface? The idea would be that a site can query payment methods like so:

```JS
const result = await PaymentRequest.canHandlePayment(...ids);
```

It means that we don't need to spin up a `PaymentRequest` instance to do the check. 

-- 
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/403

Received on Friday, 20 January 2017 06:23:40 UTC