cvs: pear /Payment_Process/Process Litle.php
| From: | Philippe Jausions | Date: | Wed, 22 Feb 2006 19:43:57 +0000 |
| Subject: | cvs: pear /Payment_Process/Process Litle.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-38501@lists.php.net to get a copy of this message | ||
jausions Wed Feb 22 19:43:57 2006 UTC
Modified files:
/pear/Payment_Process/Process Litle.php
Log:
Added more response codes
http://cvs.php.net/viewcvs.cgi/pear/Payment_Process/Process/Litle.php?r1=1.2&r2=1.3&diff_format=u
Index: pear/Payment_Process/Process/Litle.php
diff -u pear/Payment_Process/Process/Litle.php:1.2 pear/Payment_Process/Process/Litle.php:1.3
--- pear/Payment_Process/Process/Litle.php:1.2 Wed Feb 22 18:50:03 2006
+++ pear/Payment_Process/Process/Litle.php Wed Feb 22 19:43:57 2006
@@ -19,7 +19,7 @@
* @author Philippe Jausions <Philippe.Jausions@11abacus.com>
* @copyright 2006 The PHP Group
* @license http://www.opensource.org/licenses/bsd-license.php
New BSD License
- * @version CVS: $Revision: 1.2 $
+ * @version CVS: $Revision: 1.3 $
* @link http://pear.php.net/package/Payment_Process
* @link http://www.litle.com/
*/
@@ -548,6 +548,8 @@
'000' => PAYMENT_PROCESS_RESULT_APPROVED,
'100' => PAYMENT_PROCESS_RESULT_OTHER,
+ '101' => PAYMENT_PROCESS_RESULT_OTHER,
+ '102' => PAYMENT_PROCESS_RESULT_OTHER,
'110' => PAYMENT_PROCESS_RESULT_DECLINED,
'120' => PAYMENT_PROCESS_RESULT_DECLINED,
'121' => PAYMENT_PROCESS_RESULT_DECLINED,
@@ -556,6 +558,7 @@
'124' => PAYMENT_PROCESS_RESULT_DECLINED,
'125' => PAYMENT_PROCESS_RESULT_DECLINED,
'126' => PAYMENT_PROCESS_RESULT_DECLINED,
+ '127' => PAYMENT_PROCESS_RESULT_DECLINED,
'130' => PAYMENT_PROCESS_RESULT_DECLINED,
'140' => PAYMENT_PROCESS_RESULT_DECLINED,
'301' => PAYMENT_PROCESS_RESULT_DECLINED,
@@ -566,9 +569,18 @@
'307' => PAYMENT_PROCESS_RESULT_DECLINED,
'308' => PAYMENT_PROCESS_RESULT_DECLINED,
'320' => PAYMENT_PROCESS_RESULT_DECLINED,
+ '321' => PAYMENT_PROCESS_RESULT_OTHER,
+ '322' => PAYMENT_PROCESS_RESULT_OTHER,
+ '323' => PAYMENT_PROCESS_RESULT_OTHER,
+ '324' => PAYMENT_PROCESS_RESULT_DECLINED,
+ '325' => PAYMENT_PROCESS_RESULT_OTHER,
+ '326' => PAYMENT_PROCESS_RESULT_FRAUD,
+ '327' => PAYMENT_PROCESS_RESULT_FRAUD,
+ '328' => PAYMENT_PROCESS_RESULT_DECLINED,
'330' => PAYMENT_PROCESS_RESULT_OTHER,
'340' => PAYMENT_PROCESS_RESULT_OTHER,
'346' => PAYMENT_PROCESS_RESULT_OTHER,
+ '349' => PAYMENT_PROCESS_RESULT_FRAUD,
'350' => PAYMENT_PROCESS_RESULT_DECLINED,
'351' => PAYMENT_PROCESS_RESULT_FRAUD,
'352' => PAYMENT_PROCESS_RESULT_DECLINED,
@@ -590,6 +602,8 @@
var $_statusCodeMessages = array(
'000' => 'Approved',
'100' => 'Processing network unavailable',
+ '101' => 'Issuer unavailable',
+ '102' => 'Resubmit transaction',
'110' => 'Insufficient funds',
'120' => 'Call issuer',
'121' => 'Call American Express',
@@ -598,6 +612,7 @@
'124' => 'Call JBS',
'125' => 'Call Visa/MasterCard',
'126' => 'Call issuer - Update cardholder data',
+ '127' => 'Exceeds approval amount limit',
'130' => 'Call issuer', // Call (number...) To be replaced by actual
message
'140' => 'Update cardholder data',
'301' => 'Invalid account number',
@@ -608,12 +623,21 @@
'307' => 'Restricted card',
'308' => 'Restricted card - Chargeback',
'320' => 'Invalid expiration date',
+ '321' => 'Invalid merchant',
+ '322' => 'Invalid transaction',
+ '323' => 'No such issuer',
+ '324' => 'Invalid PIN',
+ '325' => 'Transaction not allowed at terminal',
+ '326' => 'Exceeds number of PIN entries',
+ '327' => 'Cardholder transaction not permitted',
+ '328' => 'Cardholder requested that recurring or installment payment be
stopped',
'330' => 'Invalid payment type',
'340' => 'Invalid amount',
'346' => 'Invalid billing descriptor prefix',
+ '349' => 'Do not honor',
'350' => 'Generic decline',
'351' => 'Decline - Request positive ID',
- '352' => 'Decline card code failed',
+ '352' => 'Decline card code fail',
'353' => 'Merchant requested decline due to address verification
result',
'354' => '3DS transaction not supported for merchant',
'355' => 'Failed velocity check',