git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8179 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -208,7 +208,7 @@ class Ogone extends PaymentModule
|
||||
public function validate($id_cart, $id_order_state, $amount, $message = '', $secure_key)
|
||||
{
|
||||
$this->validateOrder((int)$id_cart, $id_order_state, $amount, $this->displayName, $message, NULL, NULL, true, pSQL($secure_key));
|
||||
if ($amount > 0 AND class_exists('PaymentCC'))
|
||||
if ($amount > 0 AND file_exists('../../classes/PaymentCC.php'))
|
||||
{
|
||||
$pcc = new PaymentCC();
|
||||
$order = Db::getInstance()->getRow('SELECT * FROM '._DB_PREFIX_.'orders WHERE id_cart = '.(int)$id_cart);
|
||||
|
||||
Reference in New Issue
Block a user