confirmation email empty
I have eCart running well on a site, but having some intermittent glitches regarding the confirmation email that the customer receives... any help would be greatly appreciated thank you.
The process is:
Cart -> Checkout form -> Confirm page -> Sagepay payment
On successful payment the customer gets redirected back to the website where the first page updates the database order with the SagePay txCode etc and then sends a confirmation email to the customer. Then it directs again to a final thank you page.
What happens sometimes is that the SagePay order goes through but the email confirmation says "The cart is empty" and the order details are empty. And the database is not updated either.
Sounds like an empty session, but I've made sure that the landing pages after SagePay do not clear any session data. Happens intermittently too which is odd.
If you don't mind taking a quick look - I've attached the landing page here. You'll see that there's an Update server behaviour followed by an email submission.