Checkout Forms and Google Autofill

This morning I’ve been working on a shopping cart checkout form and wanted to share a few things I learned.

I needed a list of countries for my checkout form, and I discovered that country codes are defined by ISO 3166.

Here is a site that has some example html code for states and countries:

http://www.mediacollege.com/internet/samples/html/country-list.html

http://www.mediacollege.com/internet/samples/html/state-list.html

To get the Google Toobar to autofill my checkout form, I used the ECOM field names for my input fields which are available in RFC 3106.

I had some trouble getting the CVC (card verification code) field to autofill, but adding the text “CVC” to the fields label got it working.

This entry was posted in Software Engineering. Bookmark the permalink.

Leave a Reply