PaymentRequest.hasEnrolledInstrument()

The PaymentRequest.hasEnrolledInstrument() method returns a boolean indicating whether the user has a payment instrument in their profile that matches the payment identifier in a PaymentRequest and whether it is ready to handle payment at the time PaymentRequest.show() is called.

Comments

When this feature is enabled, the meaning of PaymentRequest.canMakePayment() changes too. See https://lists.w3.org/Archives/Public/public-payments-wg/2018Nov/0018.html

Specification

Editor's draft

Status in Chromium

Blink>Payments


Enabled by default (tracking bug) in:

  • Chrome for desktop release 74
  • Chrome for Android release 74

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owners

Last updated on 2019-04-03