[ic] Solution: Cybercash 3.2 and Interchange 4.5.5 Problems

David Hamann dhamann@hamanntech.com
Fri, 08 Sep 2000 17:37:40 -0700

Solution: Cybercash 3.2 and Interchange 4.5.5

This process worked for me. Cybercash and Interchange are now working on
my redhat 6 system.
Thanks to Ben Humphrey, Homestead.com and Mike Heins.

Set up a test account with CyberCash.
Download the CyberCash Merchant Connection Kit.
Test it successfully through their cgi pages

Move all the CCMck...pm files, and MCkencrypt, MCDecryptpt,
coputeMDHash, and merchant_conf files,
that came with the cybercash merchant kit, into the minivend lib folder.

Replace three of  them with the ones linked to at
http://minivendcybercash.homestead.com/index.html (they are updated by
cybercash inc. to work with
minivend). Be sure to remove the .txt extension.

Look through all the files you have copied over, and change the path to
the Encrypt, Decrypt and Hash to
be the new locations in the
minivend lib folder (ie:
  $MCKencrypt = "/usr/local/minivend/lib/MCKencrypt"; (Make sure these
are really the locations of the
$MCKdecrypt = "/usr/local/minivend/lib/MCKdecrypt";

Make sure the location of the merchant_conf file is set correctly in
your catalog.cfg file.

Set your catalog.cfg file payment options like this:

# This sets up the new payment charge mode in Interchange 4
# You set it to "custom name", where name is the name of a GlobalSub
# that performs the charge operation. If it is not "custom", then
# it will use the CyberCash routines.
# "minivend_test" is special, and the demo order profile
# works with the demo order form to test
#Variable  MV_PAYMENT_MODE   minivend_test

# Uncomment to use creditCardAuto if you want, now handled better in
# order profiles with "&credit_card=standard".
#CreditCardAuto      Yes

# These are usually all you need for CyberCash 3
# Uncomment and edit to suit; make sure you remove CreditCardAuto
Variable         CYBER_CONFIGFILE
Variable         CYBER_VERSION       3.2
Variable         CYBER_MODE          mauthonly

Variable         MV_PAYMENT_MODE     mauthonly
CreditCardAuto   No

# The old CyberCash stuff still should work, but use the above
#CyberCash        Yes

This seems to be contrary to what the on-line reference material says!
Remove all references to
in your profiles.order file found in <catalog-home>/etc directory.

For example comment out the two lines with a hashmark.

[elsif variable MV_PAYMENT_MODE]
#&credit_card=standard keep __CREDIT_CARDS_ACCEPTED__
&charge=[var MV_PAYMENT_MODE][cgi mv_payment_test]
&set=mv_payment Real-time ([var MV_PAYMENT_MODE]) Credit Card
[elsif config CyberCash]
&charge=[var CYBER_MODE]
#&credit_card=standard keep

That should do it.

-David Hamann