Created
March 28, 2012 21:04
-
-
Save VantivSDK/2230511 to your computer and use it in GitHub Desktop.
Ruby SDK - Litle Void 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 | |
#Void | |
void_info = { | |
#litleTxnId contains the Litle Transaction Id returned on the deposit/refund | |
'litleTxnId' => '100000000000000001', | |
} | |
response = LitleOnlineRequest.new.void(void_info) | |
#display results | |
puts "Response: " + response.voidResponse.response | |
puts "Message: " + response.voidResponse.message | |
puts "Litle Transaction ID: " + response.voidResponse.litleTxnId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment