[ic] Revised 'Post May 28th' Authorizenet How-To

Julia Jacobs interchange-users@interchange.redhat.com
Fri May 24 02:11:00 2002


Here is the Authorizenet 'Post May 28th' How-To
(with added Password-Required Mode Instructions):

First Add this line to the interchange.cfg:

 Require module Vend::Payment::AuthorizeNet

Then add the following Variable lines to the catalog.cfg (Replace the
words authorizenetlogin, domainoficwebsite.com, and authorizenetpassword
with your settings)

 Variable    MV_PAYMENT_MODE  authorizenet

 Variable    MV_PAYMENT_ID    authorizenetlogin

 Variable    MV_PAYMENT_REFERER    domainoficwebsite.com

 Variable    MV_PAYMENT_SECRET    authorizenetpassword

 Variable    AUTHNET_ID authorizenetlogin

 Variable    AUTHNET_REFERER domainoficwebsite.com

 Variable    AUTHNET_SECRET authorizenetpassword

 Variable    AUTHNET_SERVER secure.authorize.net

 Variable    MV_DEMO_MODE 0

Under the # Cart, order, and route settings. part of the catalog.cfg find
this area and enter the following settings:

 ## These routes are not order routes, but payment routes
 Route  authorizenet  id           "authorizenetlogin"
 Route  authorizenet  secret       "authorizenetpassword"
 Route  authorizenet  host         "secure.authorize.net"
 Route  authorizenet  referer      "domainoficwebsite.com"

That should take care of your configuration settings.

Then you need to make sure that your clients Authorize.net Merchant Account
settings are as follows:

1. Mange URLS should have nothing. NO refering urls should be there. If
there are any, take them out.
2. Automated Direct Connect (ADC) Settings:

ADC Direct Response Settings

----------------------------------------------------------------------------
----
Delimited Response: YES
Default Field Separator: ,comma
Default Encapsulation Character: None


(the ADC Secret is the private key used in the creation of the
MD5 Hash field included in all ADC responses)
Current Secret (case-sensitive)
New Secret (case-sensitive)
Retype New Secret

Here set this password to the same password as your login password.  If you
never set a password for ADC before just fill out New Secret and Retype.

Set the Account to Password-Required Mode:

To set your account to Password-Required Mode, log in to your Merchant
Interface and do the following:
€ Click Settings
€ Select Automated Direct Connect (ADC) Settings
€ Click Go
€ Set the Require Password for ALL Transactions drop-down box to YES
€ Click Submit to save changes

When all this is set go back to Interchange and restart it.

If you get an error on your check out page like Authorizenet failed or some
failure its most likely due to a wrong a setting.

To debug:

You can set the debugging log in the Interchange.cfg file. Just uncomment
the line that says something like Variable icdebug and restart and IC should
say writing to /tmp/icdebug.

Next go to the file AuthorizeNet.pm file which is located in
/usr/local/interchange/lib/Vend/Payment/AuthorizeNet.pm. In the file are
four
log files that have comments on them. Just uncomment those four log files
and restart IC. Then do another transaction and check the directory
/tmp/icdebug. That file will most likely give you the exact error your
getting for Authorizenet.

Also if you are using 4.8.1 or 4.8.2 and you tried everything  you will need
to upgrade your AuthorizeNet.pm file to at least version 4.8.3.

The AuthorizeNet.pm file has a whole lot more info like test credit cards to
use
and how to set the website to be in test mode without going to the
Authorizenet Account Manager.

-- 
Julia Jacobs
Currant Media
407-261-9351
Fax 407-261-0176
AIM JlJlnnjcbs | ICQ 131696309
msn jacobs_julia@hotmail.com | yahoo juliead_1
http://www.currantmedia.com
Members of The Better Business Bureau
* Multimedia Producers
* Web Design & Development
* 2D/3D Graphics/Animation
* Hosting, domain and e-mail
* E-Commerce ­ check, credit card validation