AnsweredAssumed Answered

P2PE on Mercury Webservices Gift Transaction?

Question asked by andy_wfc on Feb 15, 2018

I'm trying to get an ID Tech SecureMAG device working w/ web services. The behavior I'm seeing seems really odd. I'm submitting the encrypted data as:

 

<Account>

<EncryptedFormat>MagneSafe</EncryptedFormat>
<AccountSource>Swiped</AccountSource>
<EncryptedBlock>redacted</EncryptedBlock>
<EncryptedKey>redacted</EncryptedKey>

</Account>

The response I get back on both Sale and Balance transactions has "Mag Stripe Error - Hand Key" in the TextResponse field and 000000 for DSIXReturnCode. But what's more baffling to me is the response has an AcctNo field that contains the full gift card number. Since I'm only sending the encrypted track data the service must be successfully decrypting it to send the card number back in the response. But if the encrypted data is formatted correctly I don't know what the "Mag Stripe Error" is supposed to mean.

 

Credit transactions with the same device work fine.

Outcomes