Override a specific transaction.
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
boolean overrideTransaction ( ueSecurityToken Token, integer RefNum, string Reason )
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) |
boolean |
Dim refnum As String refnum = 47078128 Dim reason As String reason = "Test" Dim response As Boolean response = client.overrideTransaction(token, refnum, reason) If response = True Then MsgBox("Override Successful.") Else MsgBox("An Error Occured.") End If
string refnum; string reason; refnum = "47027943"; reason = "Because it is test"; //usaepay.TransactionResponse response = new usaepay.TransactionResponse(); 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); }
Version | Change |
---|---|
1.0 | Method added in soap v1.0 |