|
NAMEVend::Payment::BusinessOnlinePayment - Interchange wrapper for Business::OnlinePaymentSYNOPSIS&charge=onlinepayment or [charge mode=onlinepayment param1=value1 param2=value2] PREREQUISITESBusiness::OnlinePayment Business::OnlinePayment:: gateway module See L<http://www.420.am/business-onlinepayment/> or L<http://search.cpan.org/search?query=Business%3A%3AOnlinePayment&mode=module> DESCRIPTIONThis 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 supported gateways. 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 you've 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 adventurous. USAGETo 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] or Route onlinepayment setting value or 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. AUTHORIvan Kohler <ivan-interchange@420.am>Initial development of this module was sponsored in part by Simply Marketing, Inc. <http://www.simplymarketinginc.com/>. COPYRIGHTCopyright 2004 Ivan Kohler. All rights reserved.This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Visit the GSP FreeBSD Man Page Interface. |