Re: [w3c/payment-handler] Add userHint to PaymentManager (#206)

@rsolomakhin,

Can you provide some of the rationale for not displaying individual payment instruments? They provide the actual mechanism for checking whether or not a payment handler matches anyway. Furthermore, passing along the payment instrument key selected (again, I think we should probably be calling these "user hints", not "payment instruments" but that's perhaps off topic) allows the payment handler to use that more granular choice to potentially save the user extra clicks.

I've already implemented this in a polyfill and it works well. I think deviating from it is an indication that  perhaps we've got some redesign to do with what "payment instruments" actually mean in the API. We may need to revisit that anyway.

-- 
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-handler/pull/206#issuecomment-324999679

Received on Friday, 25 August 2017 18:19:13 UTC