@ianbjacobs, I tried to address your question about types and networks by clarifying that there is a presupposition that the payment sheet is only presenting "supported cards" to the end user.... a "supported card" is one that meets the PaymentRequest's `supportedTypes` and `supportedNetworks` requirement.
It's a little hand wavy, because I don't want to get into the whole "but what if the user wants to add a new card"... but the general idea is there:
1. user selects a card (or user adds one, so long as it's a "supported card").
1. The Selected card becomes a `BasicCardChangeDetails` dictionary.
1. Run Payment Request's "payment method changed algorithm", which fires the "`paymentmethodchanged`" event.
--
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-method-basic-card/pull/53#issuecomment-387626883