Re: [w3c/payment-request] Define handling of multiple applicable modifiers (#684)

@marcoscaceres I'm assuming this would need a slight tweak

```javascript
request.onpaymentoptionchange = function feeFinder(ev) {
  if(ev.method == "basic-card"){
    // as above...
  }
  if(ev.method == "https://android.com/pay") {
    // do other stuff
  }
});
```

This would mean that each payment method must define which data in a payment instrument is private so that it is not returned in the event.

Not insurmountable but likely more challenging for the open payment methods? They'd need to define this in their manifest somehow.

@rsolomakhin WDYT?

-- 
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/payment-request/issues/684#issuecomment-365577054

Received on Wednesday, 14 February 2018 11:37:25 UTC