Re: [w3c/payment-request] Add hasEnrolledInstrument() (#833)

marcoscaceres commented on this pull request.



> @@ -1300,65 +1302,43 @@ <h2>
         <h2>
           <dfn>canMakePayment()</dfn> method
         </h2>
+        <div class="note" title="canMakePayment() vs hasEnrolledInstrument()">
+          <p>
+            The <a>canMakePayment()</a> method returns a <a>Promise</a>
+            that is fulfilled with true if the <a>user agent</a> supports
+            any of the <a data-link-for="PaymentMethodData">supportedMethods</a>
+            supplied to the <a>PaymentRequest</a>
+            <a data-lt="PaymentRequest.PaymentRequest()">constructor</a>, or
+            false if none are supported.
+          </p>
+          <p>
+            A true result from <a>canMakePayment()</a> does not imply that the
+            user has an provisioned instrument ready for payment. For that, use

```suggestion
            user has a provisioned instrument ready for payment. For that, use
```

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

Received on Friday, 15 February 2019 21:43:08 UTC