I am developing an application that accepts credit card track data from a USB credit card (swipe) reader. The credit card magnetic strip provides Track1 and Track2.
If the data from Track1 is unreadable or damaged, you can get the same information from the Track2 data.
How can you programmatically tell if the Track1 data is damaged?
This application is written in C# using the .NET Framework. I am using PayPal as my payment gateway service to process credit card transactions.