Send email on checkout success
I'm trying to send a separate receipt to the client when someone checkouts successfully. The site is using Authorize.net SIM (remote checkout).
I put the Create Email Message sb on the checkout_success page and now am getting these error messages when I checkout:
Warning: require_once(../WA_eCart/muirhead_PHP.php) [function.require-once]: failed to open stream: No such file or directory in /home/muirhead/wwwroot/muirheadfoods.com/webassist/email/muirhead_receipt.php on line 4
Fatal error: require_once() [function.require]: Failed opening required '../WA_eCart/muirhead_PHP.php' (include_path='.:/usr/lib/php') in /home/muirhead/wwwroot/muirheadfoods.com/webassist/email/muirhead_receipt.php on line 4
I'm sure both muirhead_PHP.php and muirhead_receipt.php are on the remote server in their respective folders. What am I missing?
Thanks - Joe