Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to void the transaction using trans id #33

Open
sivajik34 opened this issue Sep 12, 2018 · 1 comment
Open

how to void the transaction using trans id #33

sivajik34 opened this issue Sep 12, 2018 · 1 comment

Comments

@sivajik34
Copy link

can you give example to void the transaction

@geowulf
Copy link

geowulf commented Aug 21, 2019

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header>
    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
      <wsse:UsernameToken>
        <wsse:Username>{{username}}</wsse:Username>
        <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">{{password}}</wsse:Password>
      </wsse:UsernameToken>
    </wsse:Security>
  </soapenv:Header>
  <soapenv:Body>
    <requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-{{version}}">
       <merchantID>{{username}}</merchantID>
      <merchantReferenceCode>{{MRN}}</merchantReferenceCode>
        <voidService run="true">
           <voidRequestID>{{TransactionReferenceNumber}}</voidRequestID>
        </voidService>
</requestMessage>
  </soapenv:Body>
</soapenv:Envelope>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants