[ic] More Order Routing Fun
Michael Goldfarb
interchange-users@icdevgroup.org
Wed Apr 23 13:00:01 2003
This is a follow up to my post yesterday about Adding new order routes
(http://www.icdevgroup.org/pipermail/interchange-users/2003-April/032829
.html)
I think I have now read every single post and document about order
routes and it seems like a lot of people have in the past gotten to this
same point, but I have never seen a resolution posted. If anyone could
possibly help push me across the finish line on this one, I think it
would save a lot of people time in the future (including me right now
:-)
The follow up from Ed Lafrance here helped with one of the quirks that I
think was causing a problem:
http://www.icdevgroup.org/pipermail/interchange-users/2002-June/021857.h
tml
After following his advice and putting all routes above the "default"
route (including the payment routes) I was able to get a bit further.
My new form is now definitely calling this correct route in catalog.cfg:
Route wholesaleorders <<EOF
email 'wholesale@domain.com'
report etc/mail_receipt1
from 'WholeSale Orders <__ORDERS_TO__>'
receipt etc/wholesale_receipt.html
EOF
The 'email', 'report', and 'from' directives are all being utilized
correctly.
The problem I am having is that now matter what I set the 'receipt'
directive to, it displays the etc/receipt.html page.
The other problem is that I have tried adding other directives (like
'attach' and 'empty'), but when I do, no receipt page is shown but the
rest of the route runs fine.
I have tried starting over with a fresh catalog.cfg, but the result is
the same every time.
If anyone has encountered this and could offer a solution I can stop
banging my head into the wall and kicking my computer.
Michael