Empying cart after successfull payment

dear sir,
I have problem on my cscart 4.11.3
after successfull payment cart not empty and still have the products customer choosed for purchase.

please let me know which code i have to check/add to my payment module for resolving this issue.

Thanks

Which payment processor are you using?

its my own made payment module.
not official one.
I think there should be special code included on my payment module for emptying cart after successfull payment done

The fn_order_placement_routines function should do the trick

1 Like