diff --git a/index.html b/index.html index 98c39914..3852c6cc 100644 --- a/index.html +++ b/index.html @@ -877,6 +877,8 @@

  • Let |request:PaymentRequest| be a new {{PaymentRequest}}.
  • +
  • Set |request|.[=PaymentRequest/[[handler]]=] to `null`. +
  • Set |request|.[=PaymentRequest/[[options]]=] to |options|.
  • Set |request|.[[\state]] to "created". @@ -1115,8 +1117,8 @@

  • -
  • Let |handler| be the payment handler selected by the - end-user. +
  • Set |request|.[=PaymentRequest/[[handler]]=] be the payment + handler selected by the end-user.
  • Let |modifiers:list| be an empty list.
  • @@ -1124,9 +1126,9 @@

    [=PaymentRequest/[[serializedModifierData]]=]:
    1. If the first element of |tuple| (a PMI) matches the - payment method identifier of |handler|, then append the - second element of |tuple| (the serialized method data) to - |modifiers|. + payment method identifier of + |request|.[=PaymentRequest/[[handler]]=], then append the second + element of |tuple| (the serialized method data) to |modifiers|.
    @@ -1566,6 +1568,15 @@

    {{PaymentRequest}}. + + + [[\handler]] + + + The Payment Handler associated with this + {{PaymentRequest}}. Initialized to `null`. + + @@ -3114,8 +3125,8 @@

  • - If |errorFields|["paymentMethod] member was passed, and if - required by the specification that defines |response|'s + If |errorFields|["paymentMethod"] member was passed, and + if required by the specification that defines |response|'s payment method, then [=converted to an IDL value|convert=] |errorFields|'s paymentMethod member to an IDL value of the type specified there. Otherwise, [=converted to an IDL @@ -4529,8 +4540,8 @@

  • -
  • Let |handler:payment handler| be the payment handler - selected by the user. +
  • Let |handler:payment handler| be + |request|.[=PaymentRequest/[[handler]]=].
  • Set the {{PaymentResponse/methodName}} attribute value of |response| to the payment method identifier of |handler|.