Created
March 28, 2012 20:52
-
-
Save VantivSDK/2230415 to your computer and use it in GitHub Desktop.
Ruby SDK - Litle Auth Reversal transaction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'LitleOnline' | |
include LitleOnline | |
#Auth Reversal | |
#litleTxnId contains the Litle Transaction Id returned on the authorization | |
reversal_info = {'litleTxnId' => '100000000000000001'} | |
reversal_response = LitleOnlineRequest.new.auth_reversal(reversal_info) | |
#display results | |
puts "Response: " + reversal_response.reversalResponse.response | |
puts "Message: " + reversal_response.reversalResponse.message | |
puts "Litle Transaction ID: " + reversal_response .reversalResponse.litleTxnId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment