developer:soap-1.3:methods:gettransactioncustom

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developer:soap-1.3:methods:gettransactioncustom [2010/08/06 16:55]
epouchak
developer:soap-1.3:methods:gettransactioncustom [2010/08/30 09:26]
irina
Line 173: Line 173:
 } }
 </​code>​ </​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string refnum;
 +            string[] fields = new string[3];
 +
 +            fields[0] = "​Details.Amount";​
 +            fields[1] = "​AccountHolder";​
 +            fields[2] = "​CreditCardData.AvsStreet";​
 +
 +            refnum = "​47000101";​
 +
 +            usaepay.FieldValue[] tran = new usaepay.FieldValue[3];​
 +
 +            for (int i = 0; i < 3; i++)
 +            {
 +                tran[i] = new usaepay.FieldValue();​
 +            }
 +
 +            try
 +            {
 +                tran = client.getTransactionCustom(token,​ refnum,​fields);​
 +
 +                    MessageBox.Show(string.Concat("​Transaction Approved, RefNum: ",
 +                            tran[0].Field,"​ = ",​tran[0].Value,​ " ",
 +                            tran[0].Field,"​ = ",​tran[1].Value,​ " ",
 +                            tran[0].Field,"​ = ",​tran[2].Value));​
 +              ​
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
 +
 ==== XML ==== ==== XML ====
  
developer/soap-1.3/methods/gettransactioncustom.txt ยท Last modified: 2010/10/05 13:08 by irina

Page Tools