Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Ruby SDK - Litle Capture Transaction
require 'LitleOnline'
include LitleOnline
#litleTxnId contains the Litle Transaction Id returned on the authorization
capture_info = {'litleTxnId' => '100000000000000001'}
capture_response =
#display results
puts "Response: " + capture_response.captureResponse.response
puts "Message: " + capture_response.captureResponse.message
puts "Litle Transaction ID: " + capture_response .captureResponse.litleTxnId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment