developer:soap-1.1:methods:refundtransaction

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:refundtransaction [2010/09/29 14:15]
irina
developer:soap-1.1:methods:refundtransaction [2010/10/21 12:00] (current)
irina
Line 28: Line 28:
  
 |[[developer:​soap:​objects:​TransactionResponse]] |Returns a TransactionResponse object containing the results of the transaction and all relevant data. | |[[developer:​soap:​objects:​TransactionResponse]] |Returns a TransactionResponse object containing the results of the transaction and all relevant data. |
 +
 +==== .NET VB ====
 +<code vb>
 +Dim refnum As String
 +        Dim amount As String
 +        refnum = "​47084726"​
 +        amount = "​10.00"​
 +
 +        Dim response As usaepay.TransactionResponse
 +        response = client.refundTransaction(token,​ refnum, amount)
 +
 +        If response.ResultCode = "​A"​ Then
 +            MsgBox("​Transaction Refunded, Reference Number: " & response.RefNum)
 +        Else
 +            MsgBox("​Transaction Error, Reason: " & response.Error)
 +        End If
 +</​code>​
  
 ==== .NET C# ==== ==== .NET C# ====
developer/soap-1.1/methods/refundtransaction.txt ยท Last modified: 2010/10/21 12:00 by irina

Page Tools