Re: [w3c/payment-request] Support fine-grained errors for payment methods (#752)

marcoscaceres commented on this pull request.



> @@ -3213,6 +3213,28 @@ <h2>
           <li>Set <var>response</var>.<a>[[\retryPromise]]</a> to
           <var>retryPromise</var>.
           </li>
+          <li data-link-for="PaymentValidationErrors">If
+          <var>errorFields</var>'s <a>paymentMethod</a> member was passed, and
+          if required by the specification that defines <var>response</var>'s
+          <a>payment method</a>, then <a data-cite=
+          "!WEBIDL#dfn-convert-ecmascript-to-idl-value">convert</a>
+          <var>errorFields</var> <a>paymentMethod</a> to an IDL value.
+          Otherwise, <a data-cite=

Yeah, that's what I was thinking... not all payment handlers will be formally specified, so this allows stuff to be passed to "https://bob.pay". 

-- 
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/752#discussion_r201146660

Received on Monday, 9 July 2018 21:05:35 UTC