EasyManua.ls Logo

Magtek DYNAMAG - Getswipecount; Getresultcode; Getcardservicecode

Magtek DYNAMAG
61 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
3 - MTSCRA Functions
Dynamag, DynaMAX, eDynamo, mDynamo, tDynamo, DynaWave, and iDynamo 6| Secure Card Reader Authenticators | Programmer’s
Reference (Java and Java Applet)
Page 36
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.
EMV Command Result Code Description
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.

Table of Contents

Other manuals for Magtek DYNAMAG

Related product manuals