developer:soap-1.2: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.2:methods:addcustomerpaymentmethod [2010/09/17 14:57]
irina
developer:soap-1.2:methods:addcustomerpaymentmethod [2010/10/20 11:38] (current)
irina
Line 136: Line 136:
  System.out.println("​Soap Exception: " + e.getMessage());​  System.out.println("​Soap Exception: " + e.getMessage());​
 } }
 +</​code>​
 +
 +==== .NET VB ====
 +<code vb>
 +Dim CustNum As String
 +        CustNum = "​115163"​
 +
 +        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.2/methods/addcustomerpaymentmethod.txt ยท Last modified: 2010/10/20 11:38 by irina

Page Tools