developer:soap-1.3:methods:voidtransaction

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
developer:soap-1.3:methods:voidtransaction [2010/08/06 15:57]
epouchak
developer:soap-1.3:methods:voidtransaction [2010/08/26 17:42] (current)
irina
Line 102: Line 102:
     End If     End If
 </​code>​ </​code>​
 +
 +==== .NET C# ====
 +<code c>
 +usaepay.TransactionRequestObject tran = new usaepay.TransactionRequestObject();​
 +
 +            string refnum;
 +            Boolean response;
 +
 +            refnum = "​46998404";​
 +
 +            try
 +            {
 +                response = client.voidTransaction(token,​ refnum);
 +
 +                if (response == true)
 +                {
 +                    MessageBox.Show(string.Concat("​Transaction voided"​));​
 +                }
 +                else
 +                {
 +                    MessageBox.Show(string.Concat("​An error occured"​));​
 +                }
 +            }
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +
 +            }
 +</​code>​
 +
 +
 ==== XML ==== ==== XML ====
  
developer/soap-1.3/methods/voidtransaction.txt ยท Last modified: 2010/08/26 17:42 by irina

Page Tools