[w3c/payment-handler] Ability to set default instrument for given handler (#173)

I'm wondering if there's a compromise between "show all the instruments for a given handler" and "show none of the instruments for a given handler" (Chrome's current implementation).

What if we allow a Handler to set a "default" instrument. It would enable something like this:

[ ] BobPay (Visa **** 4111)
[ ] PalPay (bob@bob.com)

Where the parenthetical in the above is the label for the defaulted instrument (if one exists).

This would enable single-click buy flows where the user is still informed about what the default action is when they hit pay, with the option preserved by the Handler to "step up" the user if necessary to a more involved flow.

-- 
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/issues/173

Received on Tuesday, 6 June 2017 18:26:11 UTC