[ic] AuthorizeNet charging, but order not placed

Russ Mann interchange-users@icdevgroup.org
Mon Jul 8 14:53:01 2002


> > Running IC 4.8.3, with AuthorizeNet.  It seems to work fine most of the
> > time, but I've had a few orders with problems.  They get sent to
> > AuthorizeNet, which charges them, but the customer never gets to
> > the Receipt
> > page, and an order is never generated.  Has anyone else
> experienced this?
> > Does anyone have any ideas of why this might happen?
> >
> > Thank you,
> >
> > Russell Mann
> >
> > ______
>
> Do you know what your users are getting instead? 404? errors on page? a
> special_pages/foo? page/form refresh?

The users are being taken back to the checkout page to fill in their credit
card info.  They never get to the receipt page.  They just keep going back
to the checkout page over and over until they give up.

>
> It sounds like you need to look at your Order Routes. Do you have custome
> routes or are you using Default?

Not sure.  Routes reproduced below.

>
> Payment Routes and Order Routes are different. I believe it is possible to
> pass a transaction through a Payment Route, AND have an Order Route die on
> you.
>
> Default will send it to log => main => copy_user. Looking at "Route log" I
> see there is no error_ok value. It may be default 0, which will kill the
> rest of the route on error. Check if anything is getting added to
> transactions or orderline VIA log_transaction. If the orders in
> question are
> not getting that far, I believe you may be getting an error in
> "Route log".
>
> You may want to look around in your Routes possibly adding
>
> error_ok   1
>
> to "log". I am not sure of the implications, but seeing as it is the first
> route, it is a good start.
>
>
> Paul

Dear Paul,

Sorry for the confusion, but here are my Routes defined in catalog.cfg.  Can
you point out which one should be modified, and exactly how it should be
changed?

Thanks,

Russell Mann

Route log         attach          0
Route log         cybermode       ""
Route log         empty           1
Route log         encrypt         0
Route log         increment       0
Route log         report          etc/log_transaction
Route log         supplant        0
Route log         track           logs/log

Route copy_user   attach          0
Route copy_user   cybermode       ""
Route copy_user   empty           1
Route copy_user   encrypt         0
Route copy_user   increment       0
Route copy_user   report          etc/mail_receipt
Route copy_user   supplant        0
Route copy_user   track           logs/log

#Payment route, not order route
Route  authorizenet  id           "__AUTHNET_ID__"
Route  authorizenet  secret       "__AUTHNET_SECRET__"
Route  authorizenet  host         "__AUTHNET_HOST__"
Route  authorizenet  referer      "__AUTHNET_REFERER__"

#Must be last or strange behavior happens
# Main route must be last to make default
Route main        attach           0
Route main        credit_card      0
Route main        cybermode        ""
Route main        default          1
Route main        email            '__ORDERS_TO__'
Route main        encrypt          0
Route main        encrypt_program  '__ENCRYPTOR__'
Route main        errors_to        '__ORDERS_TO__'
Route main        increment        0
Route main        pgp_cc_key       ""
Route main        pgp_key          ""
Route main        receipt          etc/receipt.html
Route main        report           etc/report
Route main        supplant         1
Route main        individual_track orders
Route main        track            logs/tracking.asc