Emailing products ordered in UE receipt and basket not emptied after successful order
I'm creating a site using eCart 5 and want to send an order receipt email after a successful checkout with the contents of everything ordered included.
I have 2 questions:
1. I am using the sandbox on paypal for payments standard. Do I have to use IPN notification and include the values posted back from PayPal or can I use UE to insert the contents of the basket. If I have to use IPN are there any example PHP scripts for this that anyone knows of?
2. After a successful order my shopping basket is not being emptied and I'm assuming it should be - is that correct? I've attached my checkout_success.php page.