Direct Payment Integrator V6 - Online Help
Direct Payment Integrator V6
Questions / Feedback?

Response Event

Used with Interleaved Transaction Mode.

Syntax

tsysecommerce.on('Response', [callback])

Callback

The 'callback' is called when the 'Response' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.transactionId
e.responseCode
e.responseText
e.responseApprovalCode

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 class 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) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0