- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 07 Aug 2017 21:43:09 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 8 August 2017 04:43:59 UTC
> "Determine which payment handlers support identifier (for example, by looking at payment method capabilities)." No. Because: At this point in the `.show()` algorithm you can only look at the PMI. Then later, when the payment sheet is actually shown, and the method is selected by the end-user, the rules for the payment method put restrictions on the payment handler's UI. Hopefully this screenshot from Chrome clarifies things: ![screenshot_2017-08-08_14_32_32](https://user-images.githubusercontent.com/870154/29056623-a55ebfd0-7c47-11e7-9756-e5c99ea0cfa1.png) So: 1. PMI is "basic-card" - so the browser's Payment Handler for "basic-card" is shown. 2. Only "debit cards". 3. Only "mastercard". Thus, it's impossible for the user to "Pay" without meeting the condition - they can only abort. We can amend the end of `.show()` to talk about this. I'm currently fixing the Basic Card spec to describe these things better. -- 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/pull/578#issuecomment-320848507
Received on Tuesday, 8 August 2017 04:43:59 UTC