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

Refund Method

Refunds a previously captured transaction.

Syntax

void __fastcall Refund(String TransactionId, String RefundAmount);

Remarks

This method refunds a transaction that has already been captured, or settled. If the transaction is still outstanding use the VoidTransaction method instead. The TransactionId parameter indicates to the Gateway which transaction is to be refunded, and should contain the ResponseTransactionId from the original transaction. The RefundAmount parameter is the value to be refunded back to the customer, and can be all or part of the original TransactionAmount

Please see the gateway information in the table of contents to determine if your gateway supports Refund transactions.

The gw3DSI gateway requires the following additional fields for Refund transactions:


component.AddSpecialField "UserId", "my 3DSI-assigned UserId" '(Different than MerchantLogin)
component.MerchantPassword = "my 3DSI-assigned Pwd"

The LinkPoint and PSIGateXML gateways require you send the ResponseInvoiceNumber rather than the ResponseTransactionId.

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