developer:soap-1.1:methods:addcustomerpaymentmethod

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:addcustomerpaymentmethod [2010/09/30 13:56]
irina
developer:soap-1.1:methods:addcustomerpaymentmethod [2010/10/21 15:47]
irina
Line 110: Line 110:
  
 ?>  ?> 
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim CustNum As String
 +        CustNum = "​120221"​
 +
 +        Dim payMethod As usaepay.PaymentMethod = New usaepay.PaymentMethod
 +        payMethod.CreditCardData = New usaepay.CreditCardData
 +        payMethod.CreditCardData.CardExpiration = "​1212"​
 +        payMethod.CreditCardData.CardNumber = "​4000100011112224"​
 +        payMethod.CreditCardData.AvsStreet = "123 Main st."
 +        payMethod.CreditCardData.AvsZip = "​90046"​
 +        payMethod.MethodName = "My Visa"
 +
 +        Dim response As String
 +
 +        response = client.addCustomerPaymentMethod(token,​ CustNum, payMethod, False, True)
 +        MsgBox(response)
 </​code>​ </​code>​
  
developer/soap-1.1/methods/addcustomerpaymentmethod.txt ยท Last modified: 2010/10/21 15:47 by irina

Page Tools