How to parse credit card track data from magnetic swipe
Posted on 2012-09-19
I recently took over a project involving "repairing" a vb6 project that is a Point of Sale System. I'd rather file my teeth than deal with vb6 but I'm given no choice. The client complains that they can not "swipe" credit cards and need to enter each field by hand when accepting credit cards...
Credit Card Number & Expiration Date
I know that credit card track data is in plain text and can easily be viewed by swiping into any text editor. But I am unable to see a commonality across different credit cards. i.e. Visa, Mastercard, Amex, Discover etc.
Is there a set way of parsing this information that I can get my hands on? Is there an ocx that does it already somewhere. I want to be able to capture the info from the swipe and automate the population of these fields to save the end user data entry time.
Any help would be appreciated.