|
NAMEVend::Payment::TestPayment - Interchange payment test moduleSYNOPSIS&charge=testpayment or [charge mode=testpayment param1=value1 param2=value2] PREREQUISITESNone.DESCRIPTIONThe Vend::Payment::TestPayment module implements the testpayment() routine for use with Interchange. It's compatible on a call level with the other Interchange payment modules -- in theory (and even usually in practice) you could switch from TestPayment to another payment module with a few configuration file changes.The module will perform one of three actions:
To enable this module, place this directive in "interchange.cfg": Require module Vend::Payment::TestPayment 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 "testpayment". 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 testpayment 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=testpayment id=testid] or Route testpayment id testid or Variable MV_PAYMENT_ID testid The active settings are:
Troubleshooting
BUGSThere is actually nothing *in* Vend::Payment::TestPayment. It changes packages to Vend::Payment and places things there.AUTHORSKevin Walsh <kevin@cursor.biz> Based on original code by Mike Heins <mheins@perusion.com>
Visit the GSP FreeBSD Man Page Interface. |