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

ReverseFullAuth Method

This performs a reversal of a fully-authorized transaction.

Syntax

[VB.NET]
Public Sub ReverseFullAuth(ByVal TransactionId As String, ByVal ValidationCode As String, ByVal ApprovalCode As String)
[C#]
public void ReverseFullAuth(string transactionId, string validationCode, string approvalCode);

Remarks

If you wish to reverse a transaction that was authorized for an amount less than the TransactionAmount, you must use the ReversePartialAuth method. The ReverseFullAuth method can only be used to reverse fully authorized transactions. This means that the AuthorizedAmount field from the original transaction Response was empty. You do not have to reverse the full TransactionAmount from the original transaction, you may reverse only part of that TransactionAmount if you so desire.

To reverse a transaction, simply set the TransactionAmount property to a value equal to or less than the original TransactionAmount, and call the ReverseFullAuth method with the TransactionId, ValidationCode, and ApprovalCode fields from the original transaction Response. For instance:


  FDMSHealthCare1.TransactionAmount = "20000"; // $200.00
  FDMSHealthCare1.Authorize();
  FDMSHealthCare1.TransactionNumber++;
  FDMSHealthCare1.TransactionAmount = "20000"; 
  FDMSHealthCare1.ReverseFullAuth(FDMSHealthCare1.Response.TransactionId, FDMSHealthCare1.Response.ValidationCode, FDMSHealthCare1.Response.ApprovalCode);

If you reverse a transaction for less than original TransactionAmount, you must update the Detail Record for the associated transaction to reflect the new settlement amount. If you reverse the entire amount the original transaction MUST NOT be sent in the settlement.

Please note that the ReversePartialAuth method is only applicable to healthcare (FSA card) transactions, and may not be used for regular credit card transactions.

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