cvs: pear /Payment_Process Process.php
| From: | Ian Eure | Date: | Thu, 01 Jul 2004 21:53:04 +0000 |
| Subject: | cvs: pear /Payment_Process Process.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-21393@lists.php.net to get a copy of this message | ||
ieure Thu Jul 1 17:53:04 2004 EDT
Modified files:
/pear/Payment_Process Process.php
Log:
Apply patch from Bug #1733.
http://cvs.php.net/diff.php/pear/Payment_Process/Process.php?r1=1.30&r2=1.31&ty=u
Index: pear/Payment_Process/Process.php
diff -u pear/Payment_Process/Process.php:1.30 pear/Payment_Process/Process.php:1.31
--- pear/Payment_Process/Process.php:1.30 Mon May 3 12:35:40 2004
+++ pear/Payment_Process/Process.php Thu Jul 1 17:53:04 2004
@@ -17,7 +17,7 @@
// | Joe Stump <joe@joestump.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Process.php,v 1.30 2004/05/03 16:35:40 jstump Exp $
+// $Id: Process.php,v 1.31 2004/07/01 21:53:04 ieure Exp $
require_once 'PEAR.php';
require_once 'Validate.php';
@@ -599,9 +599,9 @@
}
}
- $paymentType = $this->_request->_payment->_driver;
+ $paymentType = $this->_request->_payment->_type;
if ($this->_request->getOption('cvvCheck') === true &&
- $paymentType == PAYMENT_PROCESS_TYPE_CREDITCARD) {
+ $paymentType == 'CreditCard') {
if ($this->getCvvCode() != PAYMENT_PROCESS_CVV_MATCH) {
return PEAR::raiseError('CVV check failed',