Getswipecount; Getresultcode; Getcardservicecode - Magtek Dynamag Instruction Manual

Secure card reader authenticators programmer's reference (java and java applet)
Hide thumbs Also See for Dynamag:
Table of Contents

Advertisement

3 - MTSCRA Functions
Return Value: percentage of battery level. 100 means 100%.

3.51 getSwipeCount

This function is reserved for future use.
long getSwipeCount();
Return Value: long containing swipe count.

3.52 getResultCode

This function will return the result code of V5 command or V5 extend command.
long getResultCode();
Return Value: 0 for no error.
The following are Result Codes when a command is an EMV command from an EMV device.
0x0000 = Success, the transaction process has been started
0x0381 = Failure, DUKPT scheme is not loaded
0x0382 = Failure, DUKPT scheme is loaded but all of its keys have been used
0x0383 = Failure, DUKPT scheme is not loaded (Security Level not 3 or 4)
0x0384 = Invalid Total Transaction Time field
0x0385 = Invalid Card Type field
0x0386 = Invalid Options field
0x0387 = Invalid Amount Authorized field
0x0388 = Invalid Transaction Type field
0x0389 = Invalid Cash Back field
0x038A = Invalid Transaction Currency Code field
0x038B = Invalid Selection Status
0x038C = Invalid Selection Result
0x038D = Failure, no transaction currently in progress
0x038E = Invalid Reporting Option
0x038F = Failure, transaction in progress, card already inserted
0x0390 = Device Has No Keys
0x0391 = Invalid Device Serial Number
0x0396 = Invalid System Date and Time

3.53 getCardServiceCode

This function retrieves the card service code and should be called after a cardholder swipes a card and
before calling clearBuffer.
String getCardServiceCode();
Return Value:
String representing the card service code after a cardholder swipes a card.
Dynamag, DynaMAX, eDynamo, mDynamo, tDynamo, DynaWave, and iDynamo 6| Secure Card Reader Authenticators | Programmer's
Reference (Java and Java Applet)
Page 36
EMV Command Result Code Description

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Dynamag and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

DynamaxEdynamoMdynamoTdynamoDynawaveIdynamo 6

Table of Contents