Skip to content

Instantly share code, notes, and snippets.

@VantivSDK
Created March 29, 2012 20:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VantivSDK/2243093 to your computer and use it in GitHub Desktop.
Save VantivSDK/2243093 to your computer and use it in GitHub Desktop.
PHP SDK-Litle Re-authorization Transaction
<?php
require_once realpath(dirname(__FILE__)) . '/../lib/LitleOnline.php';
#Re authorization using the litleTxnId of a previous auth
$auth_info = array(
'litleTxnId'=>'1234567891234567891',
'id'=> '456'
);
$initilaize = &new LitleOnlineRequest();
$authResponse = $initilaize->authorizationRequest($auth_info );
#display results
echo ("Response: " . (XmlParser::getNode($authResponse ,'response')) . "<br>");
echo ("Message: " . XmlParser::getNode($authResponse ,'message') . "<br>");
echo ("Litle Transaction ID: " . XmlParser::getNode($authResponse,'litleTxnId'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment