developer:soap-1.3:methods:addreceipt

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:addreceipt [2010/09/02 10:40]
irina
developer:soap-1.3:methods:addreceipt [2010/10/13 15:51] (current)
irina
Line 76: Line 76:
  
 <code vb> <code vb>
 +Dim receipt As usaepay.Receipt = New usaepay.Receipt
 +        receipt.Name = "test receipt_VB"​
 +        receipt.Target = "​email"​
 +        receipt.Subject = "test receipt"​
 +        receipt.FromEmail = "​devsupport@usaepay.com"​
 +        receipt.ContentType = "​text"​
 +
 +        Dim message As String
 +        message = "Yippy skippy"​
 +        Dim toencode As Byte() = System.Text.ASCIIEncoding.ASCII.GetBytes(message)
 +        Dim returnValue As String
 +        returnValue = System.Convert.ToBase64String(toencode)
 +        receipt.TemplateText = returnValue
 +
 +        Dim receiptNum As String
 +        receiptNum = client.addReceipt(token,​ receipt)
 +        MsgBox(receiptNum)
 </​code>​ </​code>​
  
developer/soap-1.3/methods/addreceipt.txt ยท Last modified: 2010/10/13 15:51 by irina

Page Tools