checkout success not clearing cart
I have the same problem as some previous customers but I can't find the answer. I am using php and the order is not clearing after successful checkout and the original order is being over wrote but the next order. This is what I have as the last item of these pages of the "pp_checkout_success" and "checkout_success" page:
$ambCart->ClearCart();
unset($_SESSION['OrderID']);
I don't want people to have to sign in again once the order is complete. I just need to know what else I need to do to clear the cart for the next order.
THanks