developer:soap-1.1:methods:runcustomertransaction

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.1:methods:runcustomertransaction [2010/09/30 12:16]
irina
developer:soap-1.1:methods:runcustomertransaction [2010/10/21 15:23] (current)
irina
Line 64: Line 64:
  
 ?>  ?> 
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim custnum As String
 +        custnum = "​120221"​
 +        Dim paymentMethodID As String
 +        paymentMethodID = "​76"​
 +
 +
 +
 +        Dim Details As usaepay.TransactionDetail = New usaepay.TransactionDetail
 +
 +        Details.Invoice = "​123456"​
 +        Details.Description = "​Sample Credit Card Sale"
 +        Details.Amount = 1.05
 +        Details.AmountSpecified = True
 +
 +
 +        Dim response As usaepay.TransactionResponse
 +        response = New usaepay.TransactionResponse
 +
 +       
 +        response = client.runCustomerTransaction(token,​ custnum, Details, "​Sale",​ paymentMethodID)
 +        MessageBox.Show(String.Concat(response.Result))
 </​code>​ </​code>​
  
developer/soap-1.1/methods/runcustomertransaction.txt ยท Last modified: 2010/10/21 15:23 by irina

Page Tools