Parse Credit Card input from Magnetic Stripe

Posted by rockinthesixstring on Stack Overflow See other posts from Stack Overflow or by rockinthesixstring
Published on 2010-01-23T02:55:14Z Indexed on 2010/05/09 1:58 UTC
Read the original article Hit count: 365

Filed under:
|
|
|

Does anyone know how to parse a credit card string input from a Magnetic Card Swiper?

I tried a JavaScript parser but never got it to work. This is what the input looks like.

%BNNNNNNNNNNNNNNNN^DOE/JOHN
^1210201901000101000100061000000?;NNNNNNNNNNNNNNNN=12102019010106111001?

The N's are the credit card number.

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about JavaScript