CloudServices/Payments/FormFill

From MozillaWiki
Jump to: navigation, search
Warning signWarning: This page has been superseded by Firefox/Features/Form_Autofill

Currently one of the biggest drop offs in completing payments[citation needed] is the filling out of form information. Things such as shipping information can be long and tedious to fill out. It's often the same information again and again.

All problems are compounded on mobile.

Chrome supports auto complete, Safari supports form fill, or for example. We currently don't support anything beyond basic form interaction.

Note: the rest of this page is deliberately high level at this point.

Key functionality

For example, when I visit a site asking for my shipping address:

  • As a user when I add data into a form store that information somewhere, for the relevant parts of the form.
  • As a user, when I visit another site with a similar form fields, offer to auto-fill the relevant parts of the form from the stored data.
  • As a user be able access and edit the data stored from field.
  • As a user the data should sync between different devices if I'm using Firefox Sync.

Differences from existing

Currently Firefox fills out data for a current field. Not an entire form. The form does not utilize the @autocomplete attributes in the HTML spec, it would be nice if it did.

Existing addons

There's a few that do this already. The key differences? None of them ship with Firefox by default.

Credit card

Passing credit card or cvv data to sync is tough because that requires PCI compliance. Further more Firefox goes out of its way to ignore form data that passes the luhn check. For the first implementation of a form auto fill, I recommend that we ignore the credit card number.

Implementation

Hopefully this entire flow can be implemented in an add-on. The eventual goal to ship this as part of Firefox as an add-on. That means as much can be implemented as HTML5 pages and as an add-on.

Limitations to that plan we'll have to figure out as we go.