[ic] AuthorizeNet.pm not being recognized

Jay Houghton interchange-users@interchange.redhat.com
Wed Nov 21 16:59:01 2001


error.log: .../cs1/process.html Unknown charge type: AuthorizeNet

I'm struggling with the AuthorizeNet integration, I've read every post on
the list and scoured the web for info, and can't seem to fix this issue. I'm
confident that my configuration is correct, I've tracked the issue to line
341 in Payment.pm, where:

# Try our predefined modes
if (! $sub and defined &{"Vend::Payment::$gw"} ) {
  $sub = \&{"Vend::Payment::$gw"};
}

the defined &{"Vend::Payment::$gw"} is not evaluating TRUE. I've verified
that $gw is set correctly to "AuthorizeNet" and printed out various
variables in this routine and believe that its not recognizing the fact that
AuthorizeNet.pm is installed. I'm no perl expert (which may be the problem!)
so I'm not sure what needs to be done to recognize this module.

I have Net::SSLeay

[root@carib1 Vend]# perl -MNet::SSLeay -e 'print "It works\n"'
It works
[root@carib1 Vend]#



what gives?





about my configuration:

I've done the necessary modifications to support AuthorizeNet:

Require module Vend::Payment::AuthorizeNet is in Interchange.cfg
CreditCardAuto is off

in my catalog.cfg:

Variable MV_PAYMENT_MODE        AuthorizeNet
Variable MV_PAYMENT_ID  mypaymentid
Variable MV_PAYMENT_REFERER     myreferer
Variable MV_PAYMENT_TEST        TRUE
Variable AUTHNET_ID     mypaymentid
Variable AUTHNET_REFERER        myreferer

upon restarting:

Killing Interchange server 29290 with TERM.
High traffic settings.
Calling UI......UI is loaded...
Vend::Payment::AuthorizeNet payment module initialized, using Net::SSLeay
Interchange V4.8.1
Configuring catalog cs1...Using PostgreSQL, DSN=dbi:Pg:dbname=cs1...done.
Interchange server started in INET and UNIX mode(s) (process id 29458)


Jay Houghton
Director of Engineering
Advanced Software Concepts
jay@advsw.com
office: 978-594-5065
mobile: 617-270-5660