Vend::Payment::MCVE
Interchange MCVE support
- Provided by: interchange (Version: 5.7.7-2)
- Report a bug
Interchange MCVE support
&charge=mcve
or
[charge mode=mcve param1=value1 param2=value2]
or
mcve($mode, $opt);
MCVE.pm
The MCVE libraries are available free at http://www.mcve.com/
MCVE, Mainstreet Credit Verification Engine is a high performance software application designed to provide quality, in-house, Credit Card processing FROM Linux, FreeBSD, OpenBSD, IBM AIX, Sun Solaris, SCO OpenServer/UnixWare, and Mac OS X platforms to established clearing houses. The MCVE C & Perl library software can be downloaded free of charge from http://mcve.com. This module was developed and tested with the server software installed on HotConnect.net (http://www.hotconnect.net). Hot Connect, Inc. is an Interchange friendly Web Hosting, E-Commerce, and Internet Services company.
The Vend::Payment::MCVE module implements the mcve() routine for use with Interchange. It is compatible on a call level with the other Interchange payment modules.
To enable this module, place this directive in "interchange.cfg":
Require module Vend::Payment::MCVE
This must be in interchange.cfg or a file included from it.
Make sure CreditCardAuto is off (default in Interchange demos).
The mode can be named anything, but the "gateway" parameter must be set to "mcve". To make it the default payment gateway for all credit card transactions in a specific catalog, you can set in "catalog.cfg":
Variable MV_PAYMENT_MODE mcve
It uses several of the standard settings from Interchange payment. Any time we speak of a setting, it is obtained either first from the tag/call options, then from an Interchange order Route named for the mode, then finally a default global payment variable, For example, the "id" parameter would be specified by:
[charge mode=mcve name=mcve_configname]
or
Route mcve name mcve_configname
or
Variable MV_PAYMENT_NAME mcve_configname
The active settings are:
Variable MV_PAYMENT_MODE mcve
Variable MV_PAYMENT_NAME mcve_username
Variable MV_PAYMENT_PASSWD mcve_password
Variable MV_PAYMENT_HOST sv1.carlc.com
Variable MV_PAYMENT_PORT 8333
Variable MV_PAYMENT_COUNTER etc/mcve_id.counter
Variable MV_PAYMENT_COUNTER_START 100
Variable MV_PAYMENT_SALE_ON_AUTH 1
Variable MV_PAYMENT_NO_SALE_BAD_AVS 0
Variable MV_PAYMENT_NO_SALE_BAD_CVV2 0
Variable MV_PAYMENT_SUCCESS_ON_ANY 0
Interchange mode MCVE mode
---------------- -----------------
auth auth
sale sale
Not supported yet:
return return
reverse reverse
void void
Route mcve counter etc/mcve_id.counter
Route mcve counter_start 100
Try the instructions above, with a test credit card number from your payment processor.
Then try a sale with the card number "4111 1111 1111 1111" and a valid expiration date. The sale should be denied, and the reason should be in [data session payment_error].
If nothing works:
Make sure you "Require"d the module in interchange.cfg:
Require module Vend::Payment::MCVE
Make sure MCVE is installed and working.
Check the error logs, both catalog and global.
Make sure you set your payment parameters properly.
Try an order, then put this code in a page:
[calc]
$Tag->uneval( { ref => $Session->{payment_result} );
[/calc]
That should show what happened.
There is actually nothing *in* Vend::Payment::MCVE. It changes packages to Vend::Payment and places things there.
MCVE modifications by tom@readyink.com for Carlc Internet Services
Derived from CCVS.pm template, and others.