Sitemap
UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Follow publication

How to Simplify the Process of Credit Card Data Input on Mobile

3 min readSep 3, 2018

Paying for something online with a credit card is a simple task. Most of us build a habit of paying online — we take a credit card from a wallet, enter the card details into a web form, and click a submit button. But there are a few things designers can do to make the procedure of data input even simpler.

Today we’ll explore 3 different ways of collecting credit card data online.

Good: Guided procedure of data collecting

If a user decides to pay by card during checkout, they usually need to provide the following information:

  • Card number
  • Expiry date
  • Security code
  • Full name

The concept that you see below created by Ramakrishna request precisely this information but does it creatively. As soon as users start typing a credit card number, they see the card type (in this case, American Express). The placeholders on a card are replaced with real data as users provide information. This makes the task of input validation much more comfortable for users.

Press enter or click to view image in full size
Automatic card detection based on card number. Image: Ramakrishna V

If you want to implement the same concept on your website, check the following libraries:

Better: Credit card scanner

Typing on a mobile isn’t the most enjoyable experience. Why ask users to type credit card details when it’s possible to solve this problem with much less effort from a user side. Developers can use device capabilities such as a camera to collect valuable data.

Start from iOS 8 in Safari, mobile users can use their camera to scan and autofill their credit card information in website forms. It’s easy to enable this feature — all you need to do is to add thecc-number attribute and name name=”cardnumber” to identify a particular field as a credit card field.

Press enter or click to view image in full size
Image: Stackoverflow

Alternatively, you can use a library card.io — credit card scanning for mobile apps.

The Best: Google Pay and Apple Pay

Why ask users to provide data when you can reuse the information users already provided to the system. Considering the popularity of digital wallet services created by Apple and Google, web designers should support this technology by default.

Both Apple and Google provide effortless ways of paying: Apple Pay and Google Pay. When implemented on a website, these technologies eliminate the need to enter payment information manually. They allow users to check out with a single button.

Press enter or click to view image in full size
Paying using Apple Pay. Image: Apple

Have more ideas on simplifying the process of card data input? Share them in comments below!

Follow UX Planet: Twitter| Facebook

Originally published at babich.biz

UX Planet
UX Planet

Published in UX Planet

UX Planet is a one-stop resource for everything related to user experience.

Nick Babich
Nick Babich

Written by Nick Babich

Product designer & editor-in-chief of UX Planet. Twitter https://twitter.com/101babich

Responses (2)

Write a response