developer:soap-1.1:methods:runquickcredit

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:runquickcredit [2010/09/29 13:59]
irina
developer:soap-1.1:methods:runquickcredit [2010/10/21 11:30]
irina
Line 26: Line 26:
  
 ===== Examples ===== ===== Examples =====
 +==== .NET VB ====
 +<code vb>
 +Dim refnum As Integer
 +        Dim details As usaepay.TransactionDetail = New usaepay.TransactionDetail
 +
 +        refnum = "​47084854"​
 +        details.Amount = "​1.00"​
 +        details.AmountSpecified = True
 +        details.Description = "​Example QuickCredit"​
 +        details.Invoice = "​123456"​
 +
 +        Dim response As usaepay.TransactionResponse
 +
 +        response = client.runQuickCredit(token,​ refnum, details)
 +
 +        If response.ResultCode = "​A"​ Then
 +            MsgBox("​Transaction Approved, Reference Number: " & response.RefNum)
 +        ElseIf response.ResultCode = "​D"​ Then
 +            MsgBox("​Transaction Declined, Reason: " & response.Error)
 +        Else
 +            MsgBox("​Transaction Error, Reason: " & response.Error)
 +        End If
 +</​code>​
 +
 ==== .NET C# ==== ==== .NET C# ====
 <code c> <code c>
developer/soap-1.1/methods/runquickcredit.txt ยท Last modified: 2010/10/21 11:30 by irina

Page Tools