developer:soap-1.3:methods:runtransactionapi

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developer:soap-1.3:methods:runtransactionapi [2010/08/06 11:38]
epouchak
developer:soap-1.3:methods:runtransactionapi [2010/08/25 15:05]
epouchak
Line 74: Line 74:
  
 </​code>​ </​code>​
 +
 +==== Visual Basic ====
 +<code vb>
 + Dim client As usaepay.usaepayService = New usaepay.usaepayService
 +        Dim token As usaepay.ueSecurityToken
 +
 +        token = Me.CreateToken("​rGzC0rJ8B9RDj8Wm96GrYokgZIRe4eWF",​ "​1234"​)
 +
 +        Dim Fields(0 To 9) As usaepay.FieldValue
 +        Dim i As Integer
 +
 +        For i = 0 To 9
 +            Fields(i) = New usaepay.FieldValue
 +        Next i
 +
 +        Fields(0).Field = "​UMname"​
 +        Fields(0).Value = "​Tester Jones"
 +        Fields(1).Field = "​UMdescription"​
 +        Fields(1).Value = "​Visual Basic For Dummies"​
 +        Fields(2).Field = "​UMamount"​
 +        Fields(2).Value = "​1.00"​
 +        Fields(3).Field = "​UMinvoice"​
 +        Fields(3).Value = "​12345"​
 +        Fields(4).Field = "​UMcard"​
 +        Fields(4).Value = "​4444555566667779"​
 +        Fields(5).Field = "​UMexpir"​
 +        Fields(5).Value = "​1212"​
 +        Fields(6).Field = "​UMstreet"​
 +        Fields(6).Value = "1234 Main Street"​
 +        Fields(7).Field = "​UMzip"​
 +        Fields(7).Value = "​90210"​
 +        Fields(8).Field = "​UMcvv2"​
 +        Fields(8).Value = "​999"​
 +
 +        Dim response As usaepay.TransactionResponse
 +
 +        response = client.runTransactionAPI(token,​ Fields)
 +
 +        MsgBox("​Reference Number: " & response.RefNum)
 +
 +</​code>​
 +
 +
 ==== XML ==== ==== XML ====
  
developer/soap-1.3/methods/runtransactionapi.txt ยท Last modified: 2010/08/26 15:02 by irina

Page Tools