ReversalAdvice Method
Used if no response is received from the Server to void the authorization.
Syntax
[VB.NET] Public Sub ReversalAdvice(ByVal OriginalTransactionType As Integer, ByVal ReasonCode As Integer)
[C#] public void ReversalAdvice(int originalTransactionType, int reasonCode);
Remarks
If no response is returned after sending an authorization with the Authorize method, and the status of the response is unknown, you must send a ReversalAdvice transaction. This will advise the Paymentech Server that you did not receive a response to your authorization request, and that the original request is to be voided. If no request is found (meaning your original authorization request never made it to Paymentech) or if the authorization is successfully reversed (Code is "A"), you may try to resubmit the transaction.
This method takes two parameters, OriginalTransactionType and Reason Code. The former indicates the InteracTransactionType of the original authorization, and the latter indicates the reason for the reversal. Allowable values for these parameters are listed below:
Allowable OriginalTransactionType values:
27 | ittSale |
28 | ittSaleWithCashBack |
29 | ittReturn |
Reason Code values:
1 | No response from host |
2 | Late response from host |
3 | Unable to deliver to PIN pad |