magnetic cards - Amex track data format -
i having troubles track data processing:
it appear various amex cards labelled ‘ansi’ cards within various amex test cases not contain service code. there no indication service code not contained in track data (this includes no separators etc). how determine no service code contained in track , avoid incorrectly using discretionary data service code instead?
example:
standard track: 374245455400001=131210112011234500000 – service code 101
track no service code: 374245455400001=1412120112345 - in case 120 incorrectly interpreted service code whereas forms part of discretionary data.
thanks.
i have specification 2 types of amex cards:-
ansi
field name length
start sentinel 1
account number (pan) 15
field separator 1 ‘=’
expiration date (yymm) 4
effective date (yymm) 4
discretionary data 5
end sentinel 1
lrc 1
total: 32
iso
field name length
start sentinel 1
account number (pan) 15
field separator 1 ‘=’
expiration date (yymm) 4
service code 3
effective date (yymm) 4
discretionary data 8
language code 2
end sentinel 1
lrc 1
total: 40
so check length of track 2, if less 40 not bother check service code.
Comments
Post a Comment