DataPacketOut Event
Fired when sending a data packet to the transaction server.
Syntax
ptechgiftcard.on('DataPacketOut', [callback])
Callback
The 'callback' is called when the 'DataPacketOut' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.dataPacket (buffer)
Remarks
This event fires right before each data packet is sent. 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.