[ic] order page reloads on submit with no errors

Ed LaFrance interchange-users@icdevgroup.org
Mon Jun 10 15:34:00 2002


At 11:30 AM 06/10/2002 -0400, you wrote:
>----- Original Message -----
>From: "Ed LaFrance" <edl@newmediaems.com>
>To: <interchange-users@icdevgroup.org>
>Sent: Monday, June 10, 2002 12:36 PM
>Subject: Re: [ic] order page reloads on submit with no errors
>
>
> > At 09:18 PM 06/09/2002 -0400, you wrote:
> > >When I submit an order the order is placed and emailed, but the reciept
>page
> > >is not displayed. instead the checkout page comes back up but with no
>error
> > >messages. Any ideas?
> >
> > This is almost certainly an order route issue. Check the error.log
>(catalog
> > and IC server) for any mention of routes.  What is your routing setup?
> >
>My routing is
>
>Route main  <<EOF
>         attach            0
>         credit_card       1
>         default           1
>         email             '__ORDERS_TO__'
>         encrypt           0
>         errors_to         '__ORDERS_TO__'
>         pgp_cc_key        "__PGP_KEY__"
>         pgp_key           "__PGP_KEY__"
>         receipt           etc/receipt.html
>         report            etc/report
>         supplant          1
>         individual_track  orders
>         track             logs/tracking.asc
>        encrypt_program   /usr/bin/gpg --home-dir
>/home/irongriz/.gnupg --no-default-keyring --always-trust -v -v -e -a --batc
>h -t -r 'orders@irongrizzly.com'
>EOF
>
>My error log contains the following
>
>1cust59.tnt3.tucson.az.da.uu.net 33uG5HJQ:uu.net -
>[10/June/2002:03:48:18 -0400] irongriz
>/~irongriz/cgi-bin/cart.cgi/process.html PGP failed with status 131072:
>1cust59.tnt3.tucson.az.da.uu.net 33uG5HJQ:uu.net -
>[10/June/2002:03:48:18 -0400] irongriz
>/~irongriz/cgi-bin/cart.cgi/process.html Non-existent order routing log,
>skipping.
>1cust59.tnt3.tucson.az.da.uu.net 33uG5HJQ:uu.net -
>[10/June/2002:03:48:18 -0400] irongriz
>/~irongriz/cgi-bin/cart.cgi/process.html Non-existent order routing log,
>skipping.

Your routes are indeed messed up. Specifically, the route 'log', which is 
one of the standard routes in the foundation demo, is being called, but it 
is undefined (perhaps you commented it out or deleted it from catalog.cfg). 
Also, your gpg call is failing.

If you are not using the log route, you should remove it from the default 
route chain as well as any mv_order_route settings you may be making. WRT 
to encryption, I am not sure why you did it the way you have; I suggest 
just running the setup wizard and allowing IC to configure encryption 
settings for you.

- Ed L.


===============================================================
Increase profits from your Interchange store...
http://www.newmediaems.com/cgi-bin/nm/software_fus.html
===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================