![]() |
| > Home > Documentation > Latest documentation > Interchange payment modules > BusinessOnlinePayment |
|
BusinessOnlinePayment
Interchange's support for the
Business::OnlinePayment
Also see the
Business::OnlinePayment module list Synopsis
or
Prerequisites
DescriptionThe Vend::Payment::BusinessOnlinePayment module implements the onlinepayment() 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 BusinessOnlinePayment with a few configuration file changes. Business::OnlinePayment provides a suite of Perl modules for processing online payments (credit cards and electronic cheques etc.). It provides a consistent interface for processing online payments, regardless of the gateway back end being used, in the same way that the DBI Perl module provides an consistent interface to different database technologies. Currently this module is targeted at people who want to use a Payment Service Providers that is not supported by a native Interchange Vend::Payment module. 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 "onlinepayment". 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
Settings
In addition, any other processor options are passed to your chosen Business::OnlinePayment payment module. See the documentation for your specific Business::OnlinePayment payment module for details on what options are required, if any. TroubleshootingIf nothing works:
NotesThere is actually nothing in Vend::Payment::BusinessOnlinePayment; This module changes its package name to Vend::Payment and places things there. Author
|
| Home | Legal nonsense | Privacy policy | Contact us |