[ic] I'm missing something when adding a new payment module

J P interchange-users@icdevgroup.org
Thu Dec 5 04:32:01 2002


I have finished (I think) a payment module for my cc
processor but something isn't working quite right
since I'm getting this error message when I submit - 
(atsbank): Charge operation 'atsbank' failed. 

Here's what I have done so far.  I've put the module
in the lib/Vend/Payment directory.  Then I have gone
in and added the info in lib/UI/pages/admin/wizard for
it and also added the following to catalog.cfg
CreditCardAuto       no
Route  atsbank       id           "__ATSBANK_ID__"
Variable             MV_PAYMENT_MODE    atsbank
I also added the Require Module line in
interchange.cfg.  I went into the admin and under
Admin->Preferences->General set MV_DEMO_MODE to 0 and
added MV_PAYMENT_MODE and MERCHANT_ID fields with my
info in them in the Admin->Preferences->Order area (is
that where they are supposed to go?).  I also applied
changes and restarted IC and everything came up fine
and no compilation errors.

But I have to be missing something because I get this
error message on checkout - (atsbank): Charge
operation 'atsbank' failed.  I've looked in both the
catalog and IC error logs and don't see any messages
in there.  I've seen mentions of changes to make in
profiles.order and possibly in checkout.html. I've
looked at the first and not sure what need there and I
see a reference in checkout.html to the
mv_order_profile which is credit_card.

Any pointers to what I am missing would be greatly
appreciated.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com