Page 1 of 1

shopping cart is not getting empty after payment

Posted: Wed Oct 19, 2011 6:13 pm
by megha-verma
Hi,

I have coded the files for integration of new payment gateway and it is working awesome.But just now i got 2 know from the customers that the shopping cart is not getting empty after payment.
Any help regarding this would be appreciable.

Thanking You,
Megha Verma.

Re: shopping cart is not getting empty after payment

Posted: Thu Oct 27, 2011 11:08 pm
by amdev
megha-verma wrote:Hi,

I have coded the files for integration of new payment gateway and it is working awesome.But just now i got 2 know from the customers that the shopping cart is not getting empty after payment.
Any help regarding this would be appreciable.

Thanking You,
Megha Verma.

Code: Select all

$this->cart->clear();
or

Code: Select all

		$this->session->data['cart'] = array();