developer:soap-1.1:methods:overridetransaction

This is an old revision of the document!


overrideTransaction

Override a specific transaction.

Description

This method can be used to override a transaction that has been flagged for manager approval.

Currently this method applies only to electronic check transactions.

See also runTransaction, voidTransaction, runCheckSale, runCheckCredit

Syntax

boolean overrideTransaction ( ueSecurityToken Token, integer RefNum, string Reason )

Arguments

Type Name Description
ueSecurityToken Token Merchant security token: used to identify merchant and validate transaction.
integer RefNum Transaction Reference number assigned by the gateway.
string Reason Description of override reason. (Optional, only used with select check processors)

Return Value

boolean

.NET C#

string refnum;
            string reason;
 
            refnum = "47046002";
            reason = "Because it is test";
 
            Boolean response;
 
            try
            {
                response = client.overrideTransaction(token, refnum, reason);
                if (response)
                {
                    MessageBox.Show(string.Concat("Transaction was overrided successfully"));
                }
                else MessageBox.Show(string.Concat("Error"));
            }
            catch (Exception err)
            {
                MessageBox.Show(err.Message);
 
            }
 

Change History

Version Change
1.0 Method added in soap v1.0
developer/soap-1.1/methods/overridetransaction.1285795250.txt.gz · Last modified: 2010/09/29 14:20 by irina

Page Tools