[-] MO : Fix potential bug on carts for module Ogone
This commit is contained in:
@@ -211,7 +211,7 @@ class Ogone extends PaymentModule
|
|||||||
if ($amount > 0 AND class_exists('PaymentCC'))
|
if ($amount > 0 AND class_exists('PaymentCC'))
|
||||||
{
|
{
|
||||||
$pcc = new PaymentCC();
|
$pcc = new PaymentCC();
|
||||||
$order = Db::getInstance()->getRow('SELECT * FROM '._DB_PREFIX_.'orders WHERE id_cart = '.(int)$secure_cart[0]);
|
$order = Db::getInstance()->getRow('SELECT * FROM '._DB_PREFIX_.'orders WHERE id_cart = '.(int)$id_cart);
|
||||||
$pcc->id_order = (int)$order['id_order'];
|
$pcc->id_order = (int)$order['id_order'];
|
||||||
$pcc->id_currency = (int)$order['id_currency'];
|
$pcc->id_currency = (int)$order['id_currency'];
|
||||||
$pcc->amount = $amount;
|
$pcc->amount = $amount;
|
||||||
|
|||||||
Reference in New Issue
Block a user