Re: [w3c/payment-handler] Add CanMakePaymentEvent. (#170)

marcoscaceres commented on this pull request.



> +          <li>Let <var>methodData</var> be the payment method specific data of
+          <a>PaymentMethodData</a>.
+          </li>
+          <li>If <var>methodName</var> is a <a>standardized payment method
+          identifier</a>, filter based on <a data-lt=
+          "PaymentInstrument.capabilities">capabilities</a>:
+            <ol>
+              <li>For each <var>key</var> in <var>methodData</var>:
+                <ol>
+                  <li>If the intersection of <var>methodData[key]</var> and
+                  <var>instrument.capabilities[key]</var> is empty, return
+                  "false".
+                  </li>
+                </ol>
+              </li>
+              <li>Otherwise, return "true".

please remove the quotes from "true" and "false", otherwise, people might get confused that they should be expecting a string. 

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/pull/170#pullrequestreview-77950328

Received on Monday, 20 November 2017 22:53:53 UTC