developer:soap-1.4:methods:overridetransaction

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
developer:soap-1.4:methods:overridetransaction [2010/08/30 11:41]
tem
developer:soap-1.4:methods:overridetransaction [2012/06/19 10:43]
charlie
Line 62: Line 62:
             ​             ​
 </​code>​ </​code>​
 +
 +==== VB.Net ====
 +<code vb>
 +  Dim client As usaepay.usaepayService = New usaepay.usaepayService
 +        Dim token As usaepay.ueSecurityToken
 +
 +        token = Me.CreateToken("​714SSUxv1uohng2XkMJ7kLpETsu58G66",​ "​1234"​)
 +
 +        Dim refnum As String
 +        refnum = 47019830
 +
 +        Dim reason As String
 +        reason = "​Test"​
 +
 +        Dim response As Boolean
 +        response = client.overrideTransaction(token,​ refnum, reason)
 +
 +        If response = True Then
 +            MsgBox("​Override Successful."​)
 +        Else
 +            MsgBox("​An Error Occured."​)
 +        End If
 +</​code>​
 +
 +==== XML ====
 +
 +<code xml>
 +<?xml version="​1.0"​ encoding="​UTF-8"?>​
 +<​SOAP-ENV:​Envelope xmlns:​SOAP-ENV="​http://​schemas.xmlsoap.org/​soap/​envelope/" ​
 +xmlns:​ns1="​urn:​usaepay"​ xmlns:​xsd="​http://​www.w3.org/​2001/​XMLSchema" ​
 +xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance" ​
 +xmlns:​SOAP-ENC="​http://​schemas.xmlsoap.org/​soap/​encoding/" ​
 +SOAP-ENV:​encodingStyle="​http://​schemas.xmlsoap.org/​soap/​encoding/">​
 +<​SOAP-ENV:​Body>​
 +<​ns1:​overrideTransaction>​
 + <​Token xsi:​type="​ns1:​ueSecurityToken">​
 +  <​ClientIP xsi:​type="​xsd:​string">​192.168.0.1</​ClientIP>​
 +  <PinHash xsi:​type="​ns1:​ueHash">​
 +   <​HashValue xsi:​type="​xsd:​string">​26329b20b448d5c672cefae557458a4213c5f4d4</​HashValue>​
 +   <​Seed xsi:​type="​xsd:​string">​1340127045400107017</​Seed>​
 +   <​Type xsi:​type="​xsd:​string">​sha1</​Type>​
 +  </​PinHash>​
 +  <​SourceKey xsi:​type="​xsd:​string">​422_Your_Source_Key_iW67</​SourceKey>​
 + </​Token>​
 + <​RefNum xsi:​type="​xsd:​integer">​52512512</​RefNum>​
 + <​Reason xsi:​type="​xsd:​string">​Because we need an example</​Reason>​
 +</​ns1:​overrideTransaction>​
 +</​SOAP-ENV:​Body>​
 +</​SOAP-ENV:​Envelope>​
 +</​code>​
 +
  
 ===== Change History ===== ===== Change History =====
developer/soap-1.4/methods/overridetransaction.txt ยท Last modified: 2012/06/19 10:43 by charlie

Page Tools