Response Event
Used with Interleaved Transaction Mode.
Syntax
type TResponseEvent = procedure Response(Sender: TObject; const TransactionId: String; const ResponseCode: String; const ResponseText: String; const ResponseApprovalCode: String) of object;property OnResponse: TResponseEvent read FOnResponse write FOnResponse;
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.