Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Ruby SDK - Litle Force Capture transaction
require 'LitleOnline'
include LitleOnline
#Force Capture
force_capture_info = {
'merchantId' => '101',
'number' =>'4100000000000001',
'expDate' =>'1210'
#display results
puts "Response: " + response.forceCaptureResponse.response
puts "Message: " + response.forceCaptureResponse.message
puts "Litle Transaction ID: " + response.forceCaptureResponse.litleTxnId
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment