This is a wrapper around Business::OnlinePayment for Interchange.
The Vend::Payment::BusinessOnlinePayment module implements the onlinepayment()
routine for use with Interchange. It is compatible on a call level with the
other Interchange payment modules. In theory (and even usually in practice)
you could switch from another gateway to a Business::OnlinePayment supported
gateway (or between different Business::OnlinePayment gateways) with a few
configuration file changes.
Business::OnlinePayment is a set of related Perl modules for processing online
payments (credit cards, electronic checks, and other payment systems). It
provides a consistant interface for processing online payments, regardless of
the gateway backend being used, in the same way that DBI provides an consistant
interface to different databases.
See <http://www.420.am/business-onlinepayment/> for more information and
It is hoped that a future version of Interchange will do all credit card
processing through Business::OnlinePayment, but this is my no means
guaranteed and the timeframe is unknown. Think ALSA somewhere around
Linux 2.2 and youve got the general idea.
Currently this module is recommended for people with gateway processors
unsupported by a native Interchange Vend::Payment:: module and for the
To enable this module, place this directive in interchange.cfg:
Require module Vend::Payment::BusinessOnlinePayment
This must be in interchange.cfg or a file included from it.
The mode can be named anything, but the gateway parameter must be set
to onlinepayment. 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 onlinepayment
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 setting parameter would
be specified by:
[charge mode=onlinepayment setting=value]
Route onlinepayment setting value
Variable MV_PAYMENT_SETTING value
The following settings are available:
In addition, any other processor options are passed to your gateway. See
the documentation for your specific Business::OnlinePayment:: gateway module
for details on what options are required, if any.
Your Business::OnlinePayment processor.
Your Business::OnlinePayment login.
Your Busienss::OnlinePayment password.
The type of transaction to be run. Valid values are:
auth Authorization Only
sale Normal Authorization
settle Post Authorization
Set this true if you wish to operate in test mode. Make sure to verify
that your specific Business::OnlinePayment:: gateway module supports a