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

AdjustTransaction Method

Sends an adjustment request.

Syntax

[VB.NET]
Public Sub AdjustTransaction()
[C#]
public void AdjustTransaction();

Remarks

This method allows you to adjust a previously authorized transaction. It can be used to decrease the final SettlementAmount and adjust non-financial fields. If the adjustment request was successful, the Code property will contain "200". Response will contain additional details about the authorization request.

Minimum required properties:

Note either RetrievalNumber or TransactionNumber may be used to reference the transaction that is to be retrieved, adjusted or voided. If both are supplied, the RetrievalNumber will be used and the TransactionNumber ignored.

In the case of performing level 3 or settlement transactions, TransactionNumber is not supported and thus RetrievalNumber must be used to reference the transaction.

If a timeout occurs during the adjustment request, you will want to use the TSYSHCTransactionDetails component to issue a GetDetails request. If the request was received by the TSYS server, the GetDetails response will contain the adjusted values and no other steps are necessary. If the request was not received by the TSYS server, the GetDetails response will show that the adjusted values were not updated. Therefore the adjustment request should be resent.

Note that AdjustTransaction cannot be used to add a tip amount. If you wish to add a tip, you must use AdjustTip.

NOTE: This method has a corresponding asynchronous version (AdjustTransactionAsync) for use in the WinRT environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 6.0.6240.0