[ic] receipt.html not getting displayed
Interchange user
interchange-users@icdevgroup.org
Fri Feb 21 16:20:32 2003
> Interchange user [interchange.mail@virgin.net] wrote:
> > When I place an order from the checkout page, it is successful, but
> > etc/receipt.html is not displayed.
> >
> > Looking through the archives, someone who had experienced the same
> > problem said that they had put this right by editing catalog.cfg so that
> > the 'main' Route was the last. I tried that, moving the 'default' and
> > payment Route entries, to no avail.
> >
> > I also tried moving just the payment stuff, and leaving the 'default'
> > route last, because there is a comment in there that says 'default'
> > should be last.
> >
> > I tried commenting out the 'RouteDatabase route' line, too.
> >
> > Using code based on 'Foundation', and running IC 4.8.2.
>
> You forgot to say what was reported in your error.log file.
Kevin,
Oops. Here you go:
127.0.0.1 NnAvRHnZ:127.0.0.1 - [21/February/2003:19:49:12 +0000] rmstore
/cgi-bin/rmstore/process.html Unable to send mail using Net::SMTP
(e-mail receipt)
127.0.0.1 NnAvRHnZ:127.0.0.1 - [21/February/2003:19:49:12 +0000] rmstore
/cgi-bin/rmstore/process.html ERRORS on ORDER TEST0043:
> Error sending mail to interch:
> Can't call method "mail" on an undefined value at
/usr/lib/interchange/lib/Vend/Util.pm line 1988.
So is receipt.html not getting displayed because I don't have Net::SMTP
installed?
Shouldn't there be an error handler in the event that mail cannot be sent? As
it is at the moment (being kept on the checkout page), a customer could keep
clicking 'Place Order' and place duplicate orders (and transactions).