When an unregistered user buys a product, the email with their new login details fails to send. The order goes through sucessfully and the user is passed to the Order Complete page (/cart/checkout/complete). However, on this screen, the following error message is shown:
Unable to send e-mail. Please contact the site admin, if the problem persists.
The user account however, was successfully set up, and the users login details are shown onscreen (at /cart/checkout/complete).
Looking into the log, the error message I see is:
Error sending e-mail (from info@mycompany.com to ).
So somehow it has a blank email address for the 'to addreess'. I have marked this as critical, because without this email, the user has no record of their login details to the site and they will not be able to manage their order without these.
Comments
Comment #1
rszrama commentedI just fixed and committed this to Bazaar... Lyle will push to CVS before day's end. The API for sending e-mails totally changed but this instance wasn't updated at all. It's actually a lot cleaner code now, too!
fwiw, I also fixed the broken auto-login of new users. : )