Created
March 29, 2012 19:48
-
-
Save VantivSDK/2242972 to your computer and use it in GitHub Desktop.
PHP SDK-Litle Void Transaction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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)