From 78c274e822beef790bfd64ec1ecdf98948e12b67 Mon Sep 17 00:00:00 2001 From: Ian Jacobs Date: Thu, 27 Apr 2017 02:54:12 -0500 Subject: [PATCH] =?UTF-8?q?=CB=9C=20moved=20from=20pmi=20spec?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- proposals/method-practice/index.html | 33 ++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/proposals/method-practice/index.html b/proposals/method-practice/index.html index 86a1daf..7526c81 100644 --- a/proposals/method-practice/index.html +++ b/proposals/method-practice/index.html @@ -172,13 +172,42 @@

Structure of a Payment Method Specification

  • Information that parties must provide as input to the payment request API that is specific to the payment method (and not general information about the transaction). This is done via the data parameter of the PaymentRequest constructor.
  • Information that will be in the response from the payment request API. This will typically be information collected from the user (e.g., card number for card payments) through user interface displayed by the browser.
  • Any other payment method-specific requirements that are not addressed by the underlying payment request API, and that developers of payment apps need to take into account when building support for the payment method. See the next section for some payment method specific considerations.
  • -
  • Recommended behavior to handle exceptions (e.g., in case of network failures)
  • - +
  • Recommended behavior to handle exceptions (e.g., in case of network failures)
  • + + +

    Payment Method Specific Considerations

    +
    +

    + Conditional Matching Beyond Payment Method Identifier Matching +

    +

    + For some payment methods, merchants may wish to express that they + accept a payment method but only under certain conditions (e.g., "I + only credit cards from brand A and debit cards from brand B"). The Web + Payments Working Group has discussed several ways to support more + sophisticated matching beyond initial payment method identifier + matching. +

    +
      +
    • Parties may mint payment method identifiers to represent different + conditions. This scalable approach may work well for a small number of + independent conditions, but may not scale well for complex + relationships. +
    • +
    • A payment method can define "filters" that enable callers of the + API to describe in finer detail the conditions under which they accept + that payment method. User agents and third party payment apps can + similarly scope their support for that payment method with these + filters. In this scenario, a match between payee and payer depends + first on matching payment method identifiers, then on filter alignment. +
    • +
    +

    User Experience

    For some payment methods that require a variety of