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

ReversePartialAuth Method

This performs a reversal of a partially-authorized transaction.

Syntax

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

Remarks

If an FSA card is authorized for an amount less than the TransactionAmount, the customer must use another form of payment for the remainder. If the customer does not have any other funds, the transaction that was just authorized may be reversed and the funds returned to the FSA card. To reverse a transaction, you need to set the TransactionAmount property with the AuthorizedAmount from the partially-authorized transaction, and then pass the TransactionId, ValidationCode, and ApprovalCode to this method. The following example shows how to reverse immediately after receiving a partial authorization.


  FDMSHealthCare1.TransactionNumber++;
  FDMSHealthCare1.TransactionAmount = FDMSHealthCare1.Response.AuthorizedAmount;
  FDMSHealthCare1.ReversePartialAuth(FDMSHealthCare1.Response.TransactionId, FDMSHealthCare1.Response.ValidationCode, FDMSHealthCare1.Response.ApprovalCode);

A transaction that has been reversed in this manner 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