developer:soap-1.3:methods:emailtransactionreceiptbyname

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:emailtransactionreceiptbyname [2010/08/30 10:35]
irina
developer:soap-1.3:methods:emailtransactionreceiptbyname [2010/10/05 14:33] (current)
irina
Line 69: Line 69:
 ?>  ?> 
 </​code>​ </​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim refnum As String
 +        refnum = "​46973419"​
 + 
 +        Dim result As Boolean
 +        result = client.emailTransactionReceiptByName(token,​ refnum, "​recurring",​ "​email@mycompany.com"​)
 +        MsgBox(result)
 +
 +
 +</​code>​
 +
 +==== .NET C# ====
 +<code c>
 +string refnum;
 +            refnum = "​46999497";​
 +
 +            Boolean result;
 +
 +            try
 +            {
 +                result = client.emailTransactionReceiptByName(token,​ refnum, "​recurring",​ "​irina@usaepay.com"​);​
 +                if (result)
 +                {
 +                    MessageBox.Show(string.Concat("​Email is sent"​));​
 +                }
 +                else MessageBox.Show("​Error"​);​
 +            }
 +
 +
 +            catch (Exception err)
 +            {
 +                MessageBox.Show(err.Message);​
 +            }
 +</​code>​
 +
 ==== XML ==== ==== XML ====
 Request: Request:
Line 99: Line 136:
 </​code>​ </​code>​
  
-==== .NET C# ==== 
-<code c> 
-string refnum; 
-            refnum = "​46999497";​ 
  
-            Boolean result; 
- 
-            try 
-            { 
-                result = client.emailTransactionReceiptByName(token,​ refnum, "​recurring",​ "​irina@usaepay.com"​);​ 
-                if (result) 
-                { 
-                    MessageBox.Show(string.Concat("​Email is sent"​));​ 
-                } 
-                else MessageBox.Show("​Error"​);​ 
-            } 
- 
- 
-            catch (Exception err) 
-            { 
-                MessageBox.Show(err.Message);​ 
-            } 
-</​code>​ 
  
  
developer/soap-1.3/methods/emailtransactionreceiptbyname.txt ยท Last modified: 2010/10/05 14:33 by irina

Page Tools