![]() |
| > Home > Documentation > Latest documentation > Interchange payment modules > MCVE |
|
MCVE
Interchange's support for the
Mainstreet Credit Verification Engine Synopsis
or
Prerequisites
DescriptionThe Vend::Payment::MCVE module implements the mcve() subroutine for use with Interchange. It is compatible on a call level with the other Interchange payment modules. In theory (and even usually in practise) you could switch from another payment module to MCVE with a few configuration file changes. To enable this module, place this directive in your "interchange.cfg" file:
This must be in interchange.cfg or a file included from it. Make sure CreditCardAuto is off, which is the default in the Standard ecommerce demo. 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 website, you can set the following in catalog.cfg:
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 after the mode, then finally a default global payment Variable. For example, the id parameter would be specified by:
or
or
A full setup would look like the following:
Settings
TroubleshootingTry the instructions, above, using a test credit card number provided by your payment processor. Then try a sale with 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:
NotesThere is actually nothing in Vend::Payment::MCVE; This module changes its package name to Vend::Payment and places things there. Author
Credits
This website is partially funded by donations from our sponsorsIf you would like to become an interchange.RTFM.info sponsor, and get your logo into our list, then please contact us. The sponsorship logo list is also displayed on our home page. |
| Home | Legal nonsense | Privacy policy | Contact us |