Create a gist now

Instantly share code, notes, and snippets.

PHP SDK-Litle Void Transaction
<?php
require_once realpath(dirname(__FILE__)) . '/../lib/LitleOnline.php';
#Void
$void_info = array(
'litleTxnId'=>'100000000000000001',
'id'=> '456'
);
$initilaize = &new LitleOnlineRequest();
$voidResponse = $initilaize->voidRequest($void_info);
#display results
echo ("Response: " . (XmlParser::getNode($voidResponse ,'response')) . "<br>");
echo ("Message: " . XmlParser::getNode($voidResponse ,'message') . "<br>");
echo ("Litle Transaction ID: " . XmlParser::getNode($voidResponse ,'litleTxnId'));
@bigonese
bigonese commented Dec 7, 2013

Just a heads up, the link to this gist is broken...
It seems like this gist should be linked at the bottom of this page (see the Void PHP Example link): http://litleco.github.io/processing-overview/
(instead it links to a non-existent gist)

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