When I get success response back from payment gateway i do the following:
SetOrderComplete(order, reference);
SetSuccessful(order); //update the order status and amount
CheckoutDone(order);
But when this is complete, it goes to a balnk page. Why does it not go to the Receipt page?
If i call RedirectToCart(), it goes to the receipt page, but it throws an error in the background because the cart is no longer availabe as its converted to an order.
I just want to show the receipt page after the order is complete.