// Merge -> 8910
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user