diff --git a/index.html b/index.html index e5a003cd..08dfba81 100644 --- a/index.html +++ b/index.html @@ -685,17 +685,29 @@

  • For each paymentMethod tuple in request.[[\serializedMethodData]]:
      -
    1. Let identifiers be the first element in the - paymentMethod tuple. -
    2. -
    3. Let data be the second element in +
    4. Let identifier be the first element in the paymentMethod tuple.
    5. -
    6. Determine which payment handlers support any of the - payment method identifiers given identifiers. - For each resulting payment handler, if payment method specific - capabilities supplied by the payment handler match those provided - by data, the payment handler matches. +
    7. Let data be the result of JSON-parsing the second + element in paymentMethod tuple. +
    8. +
    9. If required by the specification that defines the + identifer, then convert + data to an IDL value. Otherwise, convert to + object. +
    10. +
    11. If conversion results in an error, reject + acceptPromise with that error and terminate this + algorithm. +
    12. +
    13. Determine which payment handlers support + identifier. For each resulting payment handler, if + payment method specific capabilities supplied by the payment + handler match those provided by data, the payment + handler matches.