VoidTransaction Method
Voids a previously authorized transaction.
Syntax
public void voidTransaction(String transactionId);
Remarks
This method voids a transaction that has been previously authorized, but which has not yet gone to settlement, or been "captured". The TransactionId parameter indicates to the Gateway which transaction is to be voided, and should contain the TransactionId from the original transaction.
Please see the gateway information in the table of contents to determine if your gateway supports Void transactions.
To cancel a transaction which has already been captured, use the Credit method.
The LinkPoint gateway requires you send the InvoiceNumber rather than the TransactionId.
For the PSIGateXML gateway, send the TransactionId as normal.
For the Heartland gateway, a reversal transaction will be sent when a TransactionAmount is specified. Otherwise a void transaction will be sent.