Parses magnetic stripe track data (Track 1 and Track 2) from payment cards. Extracts the PAN, cardholder name, expiry date, service code, and discretionary data from the raw track string.
Inputs
Track Data: Raw magnetic stripe track data. Track 1 starts with "%" or "B", Track 2 starts with ";".