I've just doing some final tests before go live and when I complete at the checkout I receive the following error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: EE::$template
Filename: libraries/store_emails.php
Line Number: 68
Fatal error: Call to a member function parse_variables() on a non-object in ~/expressionengine/third_party/store/libraries/store_emails.php on line 68
The order completes - as far as to say it's in the CP orders page, but clearly the email function is failing and preventing usual redirect.
All other emails (HTML / Plain Text) work fine, the email debug passes.
I've replaced the default email template with simply {order_id} and again with just 'test' to rule out any conditions - and I still get the same error.
EE - 2.5.5 / Store - 1.6.2 / Payment Gateway - None
store_emails->parse_email()
from your own code somewhere? Otherwise I can't see any reason why the template library wouldn't be loaded, especially if you are placing orders through the front end.