[ic] Vend::Payment.pm and Vend::Payment::BoA.pm

Mark Walther interchange-users@interchange.redhat.com
Tue Apr 2 18:33:01 2002


The following information is based on Interchange 4.8.4 and Foundation
catalog with the tool demo loaded.  I am trying to understand the credit
card payment system and how it functions.
In the BoA.pm and the other gateway modules it states that the line
"Require module Vend::Payment::BoA" be placed in the interchange.cfg
file and the line "Variable MV_PAYMENT_MODE boa" has to be placed in the
catalog.cfg file.
My questions:
1) Why does the credit card test purchases work and where are the
variables and gateway being set?  I do not see a line for any gateway
being defined in interchange.cfg file, nor do I find the "Variable
MV_PAYMENT_MODE" in the Catalog.cfg file.
2) If I want to change to some other gateway do I need to add to the
Catalog.cfg file the following type of code "Route itransact id
"__ITRANSACT_ID__"" for the new gateway?
3) Why is there no Route code for BoA in the Catalog.cfg file?
4) Is there some method in the Admin program for changing the Gateway
other than the one time use of the wizard when setting up the catalog,
like editing a database table etc.?
Thank you for your help.
Mark