Re: [w3c/webpayments] Pull filters out of payment method data (#170)

+1 

I support exploring this change to the PMI spec and think that what @adrianhopebailie proposes above is a good starting point.

Things to consider:

1. Do we want to support AND/OR clauses. I'd argue that we don't because it'll make the mechanism too complicated. I expect the logic to be "for each key in the 'filters' property, at least one item in the array associated with the key has to match the payment method being filtered for the payment method to be included in the filtered set".
2. Wildcard matching and/or microsyntaxes in the filters. No, not in v1.


---
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/issues/170#issuecomment-237649852

Received on Thursday, 4 August 2016 19:04:26 UTC