Cart not clear after successfull payment

dear friends
some of my customers reported me that their shopping cart not clear after successfull payment done, and they still have the items on cart.

i checked my payment module and find the string for empty cart after success payment. here it is:

{
				$pp_response['order_status'] = $eibal_statuses['completed'];
				$pp_response['reason_text'] = 'Payment done successfully, Track ID : '.$_REQUEST['trackId'];
				fn_clear_cart($_SESSION['cart']);
			}

please let me know why it not works

Try to use

fn_clear_cart(Tygh::$app['session']['cart']);

1 Like

Thanks for your reply.
tried your code too but same result.
any idea?

No idea, sorry. Examination is required