This file contains 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'; | |
#Credit | |
#litleTxnId contains the Litle Transaction Id returned on | |
#the capture or sale transaction being credited | |
#the amount is optional, if it isn't submitted the full amount will be credited | |
$credit_info = array( | |
'litleTxnId'=>'100000000000000002', |
This file contains 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 Capture | |
#litleTxnId contains the Litle Transaction Id returned as part of the authorization | |
#submit the amount to capture which is less than the authorization amount | |
#to generate a partial capture | |
$capture_in = array( | |
'partial'=>'true', |
This file contains 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'; | |
# standalone credit | |
$credit_info = array( | |
'id'=> '456', | |
'card'=>array('type'=>'VI', | |
'number'=>'4100000000000001', | |
'expDate'=>'1213', | |
'cardValidationNum' => '1213'), |
This file contains 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'; | |
#Capture | |
#litleTxnId contains the Litle Transaction Id returned on the authorization | |
$capture_info = array( | |
'litleTxnId'=>'100000000000000001', | |
'id'=> '456', | |
); |
This file contains 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'; | |
#Authorization | |
$auth_info = array( | |
'orderId' => '1', | |
'amount' => '10010', | |
'id'=> '456', | |
'orderSource'=>'ecommerce', | |
'billToAddress'=>array( |
This file contains 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'; | |
#Authorization | |
#Puts a hold on the fund | |
$auth_info = array( | |
'id'=> '456', | |
'orderId' => '1', | |
'amount' => '10010', | |
'orderSource'=>'ecommerce', |
This file contains 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'; | |
#Sale | |
$sale_info = array( | |
'orderId' => '1', | |
'id'=> '456', | |
'amount' => '10010', | |
'orderSource'=>'ecommerce', | |
'billToAddress'=>array( |
This file contains 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' | |
); |
This file contains 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'; | |
#Re authorization using the litleTxnId of a previous auth | |
$auth_info = array( | |
'litleTxnId'=>'1234567891234567891', | |
'id'=> '456' | |
); |
This file contains 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'; | |
#Register an account number to receive a Litle Token | |
$token_info = array( | |
'orderId'=>'12344', | |
'id'=> '456', | |
'accountNumber'=>'1233456789103801'); |
NewerOlder