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

VoidTransaction Method

Used to void a debit sale or credit transaction.

Syntax

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

Remarks

This method can be used to void a Sale or Credit transaction that was previously made using this component. A Debit Void is a specialized transaction that corrects the impact of an approved Financial Transaction (Sale or Credit) because an error was discovered in the transaction or the customer changed his or her mind. A Debit Void is not used by the merchant as a way to credit a customer for returned merchandise.

The ReceiptNumber, KSN, TransactionAmount, CashBack, TransactionNumber, and all Card fields must be identical to the values submitted in the original sale, and the ApprovalCode parameter should contain the ApprovalCode received in the original Response.

First Data will always send an ApprovalCode of "AP888888" or "AP868686" as a response to a debit void, regardless of whether the original transaction occurred or not.

Important Note: You must ping your list of service provider URLs and update the URL property to the service provider with the shortest response time every 100 transactions, as well as when your application initially starts. This is not a normal ICMP ping - to determine the fastest transaction URL you must use the special Ping method inside the FDMSRegister component. (You may update your list of service provider URLs with the FDMSRegister component's ServiceDiscovery method).

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