Support for Magtek Encrypted Swipe

You are here

1 post / 0 new
SDKSupport
Support for Magtek Encrypted Swipe

The Direct API supports the Magtek Encrypted Reader. Instead of submitting the usual card data information (Example A), you will submit the track data information (Example B). Please let us know if you have any questions. Our team can be reached at [email protected]om

 

Example A:

 "CardData" => [
                "Number" => "5454545454545454", 
                "Expiration" => "1220"
            ]

 

Example B:

"trackData" => [
                "value" => "%B5454000000005454^CHASE PAYMENTECH TEST CARD^18120000000000000000?;5454000000005454=18120000000000000000?|0600|1D1D14114BE08CF57D342297AA6E1BDE4AC6292C2E4A0AEA1648739C84B8CC556AC49141D924DA3ABD522808381DA6A37D60FDF455FFE1C38A91D79B4590D19CD06A7DC0B7DD61C2|D0C1BF8A300BFE3E4D8B0EF0C4DEB2548D684337EE3EACA4BA0289BDFBE17DAD86DD0205F0B76348||61403000|401ACFE022BAD2B940C472ED40C31B18D1EFB765AE4659B4925568F24B491E93207F03766BC9691223D18D4AF389779CF097FCC9CF668C11|B02A41F120910AA|C78A4591B8A32A91|9011880B02A41F0001B0|A214||1000", 
                "format" => "MagtekEncrypted"
            ]

 

Here is a complete sample transaction with the encrypted track data:

$requestData = [
        // this is a pretty minimalistic example...
        // complete reference material is available on the dev portal.
        "Retail" => [
            "OrderNumber" => "123456",
            "Amounts" => [
                "Total" => "1"
            ],
            "trackData" => [
                "value" => "%B5454000000005454^CHASE PAYMENTECH TEST CARD^18120000000000000000?;5454000000005454=18120000000000000000?|0600|1D1D14114BE08CF57D342297AA6E1BDE4AC6292C2E4A0AEA1648739C84B8CC556AC49141D924DA3ABD522808381DA6A37D60FDF455FFE1C38A91D79B4590D19CD06A7DC0B7DD61C2|D0C1BF8A300BFE3E4D8B0EF0C4DEB2548D684337EE3EACA4BA0289BDFBE17DAD86DD0205F0B76348||61403000|401ACFE022BAD2B940C472ED40C31B18D1EFB765AE4659B4925568F24B491E93207F03766BC9691223D18D4AF389779CF097FCC9CF668C11|B02A41F120910AA|C78A4591B8A32A91|9011880B02A41F0001B0|A214||1000", 
                "format" => "MagtekEncrypted"
            ]
        ]
    ];