- Posts: 108
- Thank you received: 2
Shopping cart does not empty after sale is made
- aimlesslady
-
Topic Author
- Offline
Less
More
10 years 8 months ago #233127
by aimlesslady
Shopping cart does not empty after sale is made was created by aimlesslady
-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Firefox 39.0.3
-- Error-message(debug-mod must be tuned on) -- : no error
I have a the setting for Clean cart when order is as confirmed. I expected that when someone returns to the Return URL set in the PayPal Pro plugin, that once a sale is completed, and the visitor is returned to the store page, the shopping cart would be empty. But it is not. Am I missing a setting?
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Firefox 39.0.3
-- Error-message(debug-mod must be tuned on) -- : no error
I have a the setting for Clean cart when order is as confirmed. I expected that when someone returns to the Return URL set in the PayPal Pro plugin, that once a sale is completed, and the visitor is returned to the store page, the shopping cart would be empty. But it is not. Am I missing a setting?
Please Log in or Create an account to join the conversation.
10 years 8 months ago #233137
by nicolas
Replied by nicolas on topic Shopping cart does not empty after sale is made
Hi,
Try to add the code:
after the code:
in the file plugins/hikashoppayment/paypalpro/paypalpro.php and that should help.
Try to add the code:
Code:
$class = hikashop_get('class.cart');
$class->cleanCartFromSession();
Code:
$this->modifyOrder($order,$order->order_status,false,$email);
Please Log in or Create an account to join the conversation.
Time to create page: 0.051 seconds