4D Payments SDK 2016 .NET Edition

Questions / Feedback?

Response Event

Used with Interleaved Transaction Mode.

Syntax

public event OnResponseHandler OnResponse;

public delegate void OnResponseHandler(object sender, TsysretailResponseEventArgs e);

public class TsysretailResponseEventArgs : EventArgs {
  public string TransactionId { get; }
  public string ResponseCode { get; }
  public string ResponseText { get; }
  public string ResponseApprovalCode { get; }
}
Public Event OnResponse As OnResponseHandler

Public Delegate Sub OnResponseHandler(sender As Object, e As TsysretailResponseEventArgs)

Public Class TsysretailResponseEventArgs Inherits EventArgs
  Public ReadOnly Property TransactionId As String
  Public ReadOnly Property ResponseCode As String
  Public ReadOnly Property ResponseText As String
  Public ReadOnly Property ResponseApprovalCode As String
End Class

Remarks

When InterleavedMode configuration setting is set to True the component will send interleaved transactions without blocking and waiting for a response. For every response that the component receives from TSYS the Response event will fire. TransactionId parameter can be used to identify the transaction. ResponseCode and ResponseText can be used to determine if a transaction was approved or declined.

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