Per-method quota for PaymentRequest.hasEnrolledInstrument()
- Category
- Miscellaneous
- Type
- New or changed feature
- Status
- No longer pursuing (Chrome No longer pursuing)
- Intent stage
- None
Summary
Separate hasEnrolledInstrument() calls should be used to query whether a user has a Google Pay wallet and whether they have cards in the autofill database. This ability is supported without letting sites iterate payment instruments within these locations. Previously Chrome would reject PaymentRequest.hasEnrolledInstrument() with NotAllowedError if a website queried different payment methods or different payment method specific parameters within a span of 30 minutes.
Standards & signals
- Firefox: No signal
- Safari: No signal
- Web developers: Strongly positive
- Tracking bug: https://crbug.com/871791
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=per-method-quota-for-paymentrequest-hasenrolledinstrument
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Per-method%20quota%20for%20PaymentRequest.hasEnrolledInstrument()
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Per-method%20quota%20for%20PaymentRequest.hasEnrolledInstrument()
- Baseline status: https://webstatus.dev/?q=Per-method%20quota%20for%20PaymentRequest.hasEnrolledInstrument()