Created
April 2, 2012 14:19
-
-
Save VantivSDK/2283749 to your computer and use it in GitHub Desktop.
PHP SDK- Litle Partial Auth Reversal Tranasaction
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'; | |
#Partial Auth Reversal | |
#litleTxnId contains the Litle Transaction Id returned on the authorization | |
$authRev_info = array( | |
'litleTxnId'=>'350000000000000001', | |
'amount'=>'20020' | |
); | |
$initilaize = &new LitleOnlineRequest(); | |
$reversalResponse = $initilaize->authReversalRequest($authRev_info); | |
#display results | |
echo ("Response: " . (XmlParser::getNode($reversalResponse,'response')) . "<br>"); | |
echo ("Message: " . XmlParser::getNode($reversalResponse,'message') . "<br>"); | |
echo ("Litle Transaction ID: " . XmlParser::getNode($reversalResponse,'litleTxnId')); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment