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

ianbjacobs commented on this pull request.



> +            </ol>
+          </li>
+          <li>Resolve <var>hasHandlerPromise</var> with false.
+          </li>
+        </ol>
+      </section>
+      <section data-dfn-for="PaymentRequest" data-link-for="PaymentRequest">
+        <h2>
+          <dfn>hasEnrolledInstrument()</dfn> method
+        </h2>
+        <p class="note">
+          The <a>hasEnrolledInstrument()</a> method can be used by the developer
+          to determine if the <a>user agent</a> not only has support for one of
+          the desired <a>payment methods</a> but is also "ready for payment", (
+          e.g. when showing a "buy now" button). If the method is called too
+          often, the user agent might instead return <a>a promise rejected

```suggestion
          often, the user agent may return <a>a promise rejected
```

-- 
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/833#pullrequestreview-201717841

Received on Friday, 8 February 2019 18:16:11 UTC