Re: [w3c/payment-handler] Indicate to the payment handler whether the user agent showed payment sheet? (#250)

@rsolomakhin First, two preliminary questions:

1. With respect to skipping the sheet if there is "a single payment method name", are those the old payment method identifiers ("visa", "mastercard", etc.) or the new PMIs (e.g., "basic-card").

2. With respect to skipping the sheet if there is a "URL-based payment method name", does that mean (a) there is only a single PMI and it is a URL-based PMI, or (b) the list of PMIs includes a URL-based PMI?

As to your "interesting point", do you envision that the precedence order is one-way (i.e., the browser is in control but can cede control to the payment app under certain conditions) and therefore that the user's browser preferences take precedence over the user's per-app preferences? If not, it seems that we'd need more robust communication between the browser and the payment apps to handle various scenarios of the kind that @ianbjacobs has outlined (e.g., configure a payment app "so that payments under a certain amount happen automatically" - the browser would need to know this and potentially also adjudicate among competing "claims" from multiple payment apps, which seems like a recipe for code complexity and user confusion).

-- 
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/250#issuecomment-369039295

Received on Tuesday, 27 February 2018 21:52:40 UTC