Post by megha-verma » Wed Oct 19, 2011 6:13 pm

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.

Newbie

Posts

Joined
Thu Sep 22, 2011 7:44 pm

Post by amdev » Thu Oct 27, 2011 11:08 pm

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();

ร้านค้าออนไลน์
OpenCart Thailand Support Forum
How to Upgrade oc1.5 to 2.0.1.1
Upgrading OpenCart From v.1.4 or v.1.5 to V.2.2 Step by step


User avatar
Active Member

Posts

Joined
Fri Nov 27, 2009 3:40 pm
Location - Bangkok - Thailand
Who is online

Users browsing this forum: No registered users and 4 guests