4D Payments SDK 2016 .NET Edition

Questions / Feedback?

DataPacketOut Event

Fired when sending a data packet to the transaction server.


public event OnDataPacketOutHandler OnDataPacketOut;

public delegate void OnDataPacketOutHandler(object sender, PtechdebitDataPacketOutEventArgs e);

public class PtechdebitDataPacketOutEventArgs : EventArgs {
  public string DataPacket { get; }
public byte[] DataPacketB { get; } }
Public Event OnDataPacketOut As OnDataPacketOutHandler

Public Delegate Sub OnDataPacketOutHandler(sender As Object, e As PtechdebitDataPacketOutEventArgs)

Public Class PtechdebitDataPacketOutEventArgs Inherits EventArgs
  Public ReadOnly Property DataPacket As String
Public ReadOnly Property DataPacketB As Byte() End Class


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.

Copyright (c) 2021 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 8017]