Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
PHP SDK- Litle Capture Transaction
require_once realpath(dirname(__FILE__)) . '/../lib/LitleOnline.php';
#litleTxnId contains the Litle Transaction Id returned on the authorization
$capture_info = array(
'id'=> '456',
$initilaize = new LitleOnlineRequest();
$captureResponse = $initilaize->captureRequest($capture_info);
#display results
echo ("Response: " . (XmlParser::getNode($captureResponse,'response')) . "<br>");
echo ("Message: " . XmlParser::getNode($captureResponse,'message') . "<br>");
echo ("Litle Transaction ID: " . XmlParser::getNode($captureResponse,'litleTxnId'));

VantivSDK commented Mar 9, 2012

Please make sure to adjust the pathname, before running any tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment