developer:soap-1.2: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.2:methods:runcustomertransaction [2010/09/17 11:38]
irina
developer:soap-1.2:methods:runcustomertransaction [2010/10/20 11:12] (current)
irina
Line 67: Line 67:
  
 ?>  ?> 
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim custnum As String
 +        custnum = "​115163"​
 +        Dim paymentMethodID As String
 +        paymentMethodID = "​70"​
 +
 +        Dim tran As usaepay.CustomerTransactionDetail = New usaepay.CustomerTransactionDetail
 +
 +        tran.Invoice = "​123456"​
 +        tran.Description = "​Sample Credit Card Sale"
 +        tran.Amount = 1.05
 +        tran.AmountSpecified = True
 +
 +        Dim response As usaepay.TransactionResponse
 +        response = New usaepay.TransactionResponse
 +
 +       
 +        response = client.runCustomerTransaction(token,​ custnum, tran, "​Sale",​ paymentMethodID)
 +        MessageBox.Show(String.Concat(response.Result))
 </​code>​ </​code>​
  
developer/soap-1.2/methods/runcustomertransaction.txt ยท Last modified: 2010/10/20 11:12 by irina

Page Tools