Shopping cart does not empty after sale is made

  • Posts: 106
  • Thank you received: 1
  • Hikashop Business
8 years 8 months ago #233127

-- 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?

Please Log in or Create an account to join the conversation.

  • Posts: 82906
  • Thank you received: 13378
  • MODERATOR
8 years 8 months ago #233137

Hi,

Try to add the code:

$class = hikashop_get('class.cart');
			$class->cleanCartFromSession();
after the code:
$this->modifyOrder($order,$order->order_status,false,$email);
in the file plugins/hikashoppayment/paypalpro/paypalpro.php and that should help.

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum