Appendix C - EMV Transaction Flow
MagTek Universal SDK| For MMS Devices | Programmer’s Manual ( Java )
Page 59
// #4
@Override
public void OnEvent(EventType eventType, IData data)
{
byte[] ARQC = null;
switch (eventType);
{
case EventType.AuthorizationRequest:
// #4a
// Forward ARQC to processor.
/* data[0..1] – ARQC length
data[2..n] – remainder contains the ARQC TLV object */
IData processorARPC;
procARPC.byteArray = sendForAuthorization(data.ByteArray());
// #4b
// Send authorization to device when not in QuickChip mode.
if (transaction.QuickChip == false)
{
device.sendAuthorization(procARPC.ByteArray());
}
break;
}
}