Browser saved address and card autofill
Chrome and Safari offer saved addresses and cards to fill checkout forms.
In one line
Can offer your saved addresses and cards to fill a form, if you pick them
Chrome and Safari offer saved addresses and cards to fill checkout forms.
Gives a site a user's address, phone and card after the person picks them in a browser prompt.
What it can and can't do
What the user does: You tap a form field and choose a saved address or card from the list.
It can
- Fill a name, address or phone number from your saved ones
- Fill a saved card number in a checkout form
- Offer them in one tap
It cannot
- See your saved cards or addresses before you pick them
- Fill your card's security code without asking in many browsers
- Share them with other sites
- Fill anything if you turned autofill off
How it differs between platforms: Chrome and Safari fill saved addresses and cards. Firefox fills addresses, but cards only partly.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 60 | 2017-07-25 | None |
| Edge | Supported | 15 | 2017-04-05 | None |
| Firefox | Behind a flag | 55 | Not listed | Behind flag. |
| Safari | Supported | 11.1 | 2018-04-12 | None |
| Safari on iPhone | Supported | 11.3 | 2018-03-29 | None |
| Chrome on Android | Supported | 53 | 2016-09-07 | None |
| Samsung Internet | Supported | 6.0 | 2017-08-23 | None |
How a site asks for it
| API | Standard form fields plus autocomplete tokens; Payment Request API for cards |
| Browser compat keys | api.PaymentRequest |
| How access is granted | picker |
| What the user sees | Browser popup listing saved profiles and cards |
| Needs a secure context (HTTPS) | Yes |
| Needs a user gesture | Yes |
| How long it lasts | Per origin |
| How to take it back | Site settings |
| Inside an iframe | Same as top level; cross-origin iframes need a permissions policy where listed |
Typical flow
- Call the API
- Browser applies its access rules
- Page receives the result
Data you get
What comes back: Chrome and Safari offer saved addresses and cards to fill checkout forms.
Shape: object
How often: on demand
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
shippingAddress | object | None | country, region, city, postalCode, addressLine, recipient, phone | Payment Request |
card details | object | None | number, expiry, name | needs CVC re entry in Chrome |
Technical limits
- Cards need user confirmation
- Address returned only after user chooses
The story
What it is
Your browser can fill saved addresses and cards at checkout after you choose them.
For you
A small menu offers your saved address or card. You tap it and the form fills in, without you typing.
For makers
Makers get faster checkouts and fewer errors, so more people finish buying. A skimmer script can try to steal the filled values, so shops must guard the page.
Where you see it
| Type | Example | Apps |
|---|---|---|
| shopping | You buy shoes on a store and your address and card fill in one tap. | Amazon, Nike |
| delivery | A takeout site fills your delivery address and card. | DoorDash |
| travel | A booking site fills your name, phone and card. | Booking.com |
| media | A streaming site fills a card for a free trial that you then forget. | Netflix |
| security | A skimmer script on a checkout page tries to copy the filled card. | None named |
| payments | A bank page fills your billing address. | None named |
Risks
- Skimmer scripts
- Hidden fields
What the platform says
- Google: Autofill in Chrome. Chrome's help page says Chrome can fill saved addresses, cards and passwords so forms go faster.
Good uses and abuse
Legitimate uses
- Fast checkout
Known abuse
- Skimmer scripts on checkout pages
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 5 of 5 | How revealing the data is |
| Utility | 4 of 5 | How useful it is to honest apps |
| Friction | 1 of 5 | How much the user has to do |
| Fingerprint bits | Not rated | Rough identifying entropy, when known |
History
- 2016, Chrome 53: Payment Request address collection
Related capabilities
Related
- Payment Request API. Can open the browser's pay sheet with saved cards and addresses you pick
Sources
How well checked: Based on official documentation.