More restrictive hasEnrolledInstrument() for autofill instruments
- Category
- Miscellaneous
- Type
- New or changed feature
- Status
- No longer pursuing (Chrome No longer pursuing)
- Intent stage
- Start prototyping
Summary
Improves the authorization of transactions by requiring unexpired cards and a billing address. This improves the quality of autofill data and increasing the chances that PaymentRequest.hasEnrolledInstrument() returns true.
Motivation
Reduce the usage of the unhappy path of autofill data, so that users see the happy path more often, which requires a couple clicks to authorize a transaction.
Standards & signals
- Specification: https://w3c.github.io/payment-request/#dom-paymentrequest-hasenrolledinstrument
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://crbug.com/993390
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=payment-request%2Fpayment-request-hasenrolledinstrument-method
- 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+More%20restrictive%20hasEnrolledInstrument()%20for%20autofill%20instruments
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=More%20restrictive%20hasEnrolledInstrument()%20for%20autofill%20instruments
- Baseline status: https://webstatus.dev/?q=More%20restrictive%20hasEnrolledInstrument()%20for%20autofill%20instruments
Docs: https://gist.github.com/rsolomakhin/d6d242cbb9306864ada5a29de7ab271e
Samples: https://rsolomakhin.github.io/pr/cc/
Explainers: https://gist.github.com/rsolomakhin/d6d242cbb9306864ada5a29de7ab271e