[ic] Unknown charge type: authorizenet

Patrick J. Walsh interchange-users@interchange.redhat.com
Wed Dec 12 13:45:00 2001


John,

    Thank you for your generous responses.  I again made all of your
suggested changes and continued to hit the "unknown charge type" brick wall.
So I downloaded the code and picked through it.  That error comes up
specifically when the "Require Vend::..." line in interchange.cfg has
problems or is missing.

    As it turns out, when I asked my hosting provider to add that line and
restart Interchange, they added it and restarted interchange by sending it a
HUP signal.  Somethink like: `kill -s HUP 01234`

    Apparently, however, the HUP signal does not cause Interchange to reread
its configuration files (?).  When I asked my provider to run the
`.../bin/interchange -restart` command, the error disappeared.

    Once everything is working (hopefully gpg will go smoothly) I may come
back and write a FAQ with all of your info combined with the other stuff I
pulled together.  Thanks again for the help.

..Patrick

----- Original Message -----
From: "John Beima" <jbeima@palb.com>
To: <interchange-users@interchange.redhat.com>
Sent: Tuesday, December 11, 2001 9:37 PM
Subject: Re: [ic] Unknown charge type: authorizenet


> G'Day Patrick,
>
> Also make sure the that the MV_PAYMENT variables are set like this:
>
> MV_PAYMENT_ID           Payment
> MV_PAYMENT_MODE authorizenet    Payment
> MV_PAYMENT_REFERER              Payment
> MV_PAYMENT_SECRET               Payment
> MV_PAYMENT_SERVER               Payment
>
> If you have data in them, it will give you grief... Make sure the other
ones are
> blank...
>
> John
>
>
> Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>:
>
> > > From: "John Beima" <jbeima@palb.com>
> > > ...
> > > Two small errors acount... Well you are at the first and you would
> > shortly
> > > discover the second...
> > >
> > > You forgot the variable:
> > >
> > > AUTHNET_MODE custom authorizenet
> > >
> > > Then you need to leave AUTHNET_REFERER blank and don't configure
> > > any URLs in your AuthorizeNet Tools Area...
> >
> > John,
> >
> >     Thank you for your response.  I removed all of the URL's from our
> > Authorize.Net account and adjusted the two variables you mentioned:
> >
> > AUTHNET_MODE    custom authorizenet
> > AUTHNET_REFERER    <blank>
> >
> >     but, alas, I still get the "Unknown charge type: authorizenet" error
> > in
> > the error log and the more generic "Charge operation 'authorizenet'
> > failed."
> > error on the checkout page.
> >
> >     Any other ideas?
> >
> > ..Patrick
> >
> >
> > > Quoting "Patrick J. Walsh" <pwalsh@dyna-q.com>:
> > >
> > > >     I really hate to start a new authorizenet thread, so let me
> > > > apologize in
> > > > advance for that.
> > > >
> > > >     We're using IC 4.8.2, RH 6.2, Perl 5.6.1 with Crypt::SSLeay and
> > > > LWP::UserAgent properly installed.  interchange.cfg has the
> > appropriate
> > > > 'Require module Vend::Payment::AuthorizeNet' in it and interchange
> > has
> > > > been
> > > > HUP'ed.
> > > >
> > > >     Even so, our test authorizenet transactions are failing.  The
> > error
> > > > log
> > > > gives this error:   "Unknown charge type: authorizenet"
> > > >
> > > >     (We've adapted the Foundation demo for our uses and as such the
> > > > order
> > > > routes and such are the default for the foundation demo.)
> > > >
> > > >     Here are the vars you are likely interested in:
> > > >
> > > > MV_PAYMENT_MODE    authorizenet
> > > > MV_DEMO_MODE    1
> > > > AUTHNET_ID    <id>
> > > > AUTHNET_REFERER    <referer>
> > > > AUTHNET_SECRET    <pass>
> > > > AUTHNET_SERVER    secure.authorize.net
> > > > ORDER_ROUTES    log main copy_user
> > > > PAYGATE authorize
> > > >
> > > >     This is on a hosted machine, so I can't enable debugging in
> > > > interchange.cfg.  Does anyone know what the likely cause of this
> > error
> > > > might
> > > > be?  I have certainly walked through a ton of documentation and
> > mailing
> > > > list
> > > > suggestions.  But I haven't seen reference to this specific error,
> > nor
> > > > have
> > > > I found a way around it yet.
> > > >
> > > >     I'll report back to the list if I find something.  Any tips
> > would be
> > > > greatly appreciated.
> > > >
> > > > PS - I'm not sure what PAYGATE is, but the wizard added it and I
> > thought
> > > > it
> > > > best to leave it alone.
> > > >
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
>
>
>
> John Beima
> jbeima@palb.com, support@alocalagent.com, and support@alocalchurch.com
>
> P.A.L.B. Systems - Phone: (780)451-1086 - Fax: (780)447-4760
> 11639-122 Street, Edmonton, Alberta, Canada, T5M 0B6
>
> Affordable Web Pages - Phone: (888)932-9990 - Fax: (256)351-7297
> 2713B Spring Place SW, Decatur, Alabama, United States, 35603
> _______________________________________________
> interchange-users mailing list
> interchange-users@interchange.redhat.com
> http://interchange.redhat.com/mailman/listinfo/interchange-users
>