// fix bug with missing $context->cart and $context->customer durring payment process
This commit is contained in:
1 parent
cf4d36dffa
commit
914c75b56c
3 files changed
+12
-6
No files matched your search
@@ -87,6 +87,7 @@ abstract class PaymentModuleCore extends Module
|
||||
$secure_key = false, Shop $shop = null)
|
||||
{
|
||||
$cart = new Cart($id_cart);
|
||||
$this->context->cart = $cart;
|
||||
|
||||
if (!$shop)
|
||||
$shop = Context::getContext()->shop;
|
||||
|
||||
Reference in new issue
Block a user