cvs: pear /Payment_Process Process.php

From: Date: Wed, 28 Apr 2004 20:27:02 +0000
Subject: cvs: pear /Payment_Process Process.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-18914@lists.php.net to get a copy of this message
ieure Wed Apr 28 16:27:02 2004 EDT Modified files: /pear/Payment_Process Process.php Log: Apply patch to fix #1271. http://cvs.php.net/diff.php/pear/Payment_Process/Process.php?r1=1.27&r2=1.28&ty=u Index: pear/Payment_Process/Process.php diff -u pear/Payment_Process/Process.php:1.27 pear/Payment_Process/Process.php:1.28 --- pear/Payment_Process/Process.php:1.27 Wed Mar 31 11:00:21 2004 +++ pear/Payment_Process/Process.php Wed Apr 28 16:27:02 2004 @@ -17,7 +17,7 @@ // | Joe Stump <joe@joestump.net> | // +----------------------------------------------------------------------+ // -// $Id: Process.php,v 1.27 2004/03/31 16:00:21 jstump Exp $ +// $Id: Process.php,v 1.28 2004/04/28 20:27:02 ieure Exp $ require_once 'PEAR.php'; require_once 'Validate.php'; @@ -582,13 +582,13 @@ function validate() { - if ($this->_request->options['avsCheck'] === true) { + if ($this->_request->getOption('avsCheck') === true) { if ($this->getAVSCode() != PAYMENT_PROCESS_AVS_MATCH) { return PEAR::raiseError('AVS check failed',PAYMENT_PROCESS_ERROR_AVS); } } - if ($this->_request->options['cvvCheck'] === true && + if ($this->_request->getOption('cvvCheck') === true && $this->_request->_payment->_driver == PAYMENT_PROCESS_TYPE_CREDITCARD) { if ($this->getCvvCode() != PAYMENT_PROCESS_CVV_MATCH) { return PEAR::raiseError('CVV check failed',PAYMENT_PROCESS_ERROR_CVV);

« previous php.pear.cvs (#18914) next »