developer:soap-1.3:methods:overridetransaction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:soap-1.3:methods:overridetransaction [2010/06/01 15:51]
hmcgowan created
developer:soap-1.3:methods:overridetransaction [2010/10/05 13:01]
irina
Line 32: Line 32:
  
 |boolean| |boolean|
 +
 +===== Examples =====
 +==== .NET VB ====
 +<code vb>
 +Dim refnum As String
 +        refnum = 47019830
 + 
 +        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
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string refnum;
 +            string reason;
 + 
 +            refnum = "​46976525";​
 +            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);​
 + 
 +            }
 +</​code>​
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.3/methods/overridetransaction.txt ยท Last modified: 2010/10/05 13:01 by irina

Page Tools