// Merge -> 8910

This commit is contained in:
rMalie
2011-09-30 08:17:25 +00:00
parent 84e77a9bf4
commit 0c40fb9a06
28 changed files with 2046 additions and 118 deletions
+2 -2
View File
@@ -37,13 +37,13 @@ class PaypalLib extends Paypal
unset($response[$k]);
}
}
if (!Configuration::get('PAYPAL_MODE_DEBUG'))
if (!Configuration::get('PAYPAL_DEBUG_MODE'))
$this->_logs = array();
$toExclude = array('TOKEN', 'SUCCESSPAGEREDIRECTREQUESTED', 'VERSION', 'BUILD', 'ACK', 'CORRELATIONID');
$this->_logs[] = '<b>'.$this->l('PayPal response:').'</b>';
foreach ($response as $k => $res)
{
if (!Configuration::get('PAYPAL_MODE_DEBUG') AND in_array($k, $toExclude))
if (!Configuration::get('PAYPAL_DEBUG_MODE') AND in_array($k, $toExclude))
continue;
$this->_logs[] = $k.' -> '.$res;
}