DataPacketIn Event
Fired when receiving a data packet from the transaction server.
Syntax
fdmsrcecommerce.on('DataPacketIn', [callback])
Callback
The 'callback' is called when the 'DataPacketIn' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.dataPacket (buffer)
Remarks
This event fires when a packet is received. The entire data packet (including all framing and error detection characters) is contained in the parameter "DataPacket". This parameter may be inspected for advanced troubleshooting, or to extract additional response properties beyond the scope of this class.