4D Payments SDK 2016 .NET Edition

Questions / Feedback?

CardTrack2Data Property

The Track2 portion of the debit card's magnetic stripe.


public string CardTrack2Data { get; set; }
Public Property CardTrack2Data As String

Default Value



This property should contain the track 2 data read from the debit card's magnetic stripe. This includes everything after but not including the start sentinel (;) and up to but not including the end sentinel (?) and LRC check character. You may only set this property with track 2 data, track 1 data will cause an error.

So if the full magnetic stripe read from the card is "%B4788250000028291^PAYMENTECH^05121015432112345678?;4788250000028291=05121015432112345678?", then this property should be set as follows:

component.CardTrack2Data = "4788250000028291=05121015432112345678"

Industry regulations do not allow merchants or processors to store track data in any form of persistent storage. Failure to abide by this regulation can result in significant fines and other penalties.

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 8017]