Response Event
Used with Interleaved Transaction Mode.
Syntax
typedef void __fastcall (__closure *TibcTSYSECommerceResponseEvent)(System::TObject* Sender, TibcTSYSECommerceResponseEventParams *e);__property TibcTSYSECommerceResponseEvent OnResponse = {read=FOnResponse, write=FOnResponse};
typedef struct {
String TransactionId;
String ResponseCode;
String ResponseText;
String ResponseApprovalCode;
} TibcTSYSECommerceResponseEventParams;
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.