Prevalidation of credit cards

Bug #545519 reported by AJenbo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-music-store
Triaged
Wishlist
Joshua Hoover

Bug Description

Creditcard numbers can be prevalidated as the users types it using:
http://en.wikipedia.org/wiki/Luhn_algorithm

This helps prevent against mistyping the credit card number.

Most card types can also be checked for correct type by looking at the first 4 didgits. All Visa cards starts with 4. Danish Visa cards always starts with 4571. Visa cards are 13-16 didgits.
Master cards always starts with 5 and the secound didget is always with in 1-5. Master Card numbers are always 16 didgits.

This information could be used to automate the selection of card type. Or simplify it.

Tags: 7digital
Revision history for this message
AJenbo (ajenbo) wrote :

Heres some more info about the start numbers on credit cards, it's called IIN: http://en.wikipedia.org/wiki/Bank_card_number

Changed in rhythmbox-ubuntuone-music-store:
assignee: nobody → Matt Griffin (mattgriffin)
tags: added: 7digital
Changed in rhythmbox-ubuntuone-music-store:
importance: Undecided → Wishlist
Daniel Neel (dneelyep)
summary: - Prevalidation of card
+ Prevalidation of credit cards
dobey (dobey)
affects: rhythmbox-ubuntuone-music-store → ubuntuone-music-store
Changed in ubuntuone-music-store:
status: New → Triaged
Changed in ubuntuone-music-store:
assignee: Matt Griffin (mattgriffin) → Joshua Hoover (joshuahoover)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.