![]() |
| > Home > Documentation > Latest documentation > Interchange payment modules > TCLink |
|
TCLink
Interchange's support for the TrustCommerce Synopsis
or
Prerequisites
http://www.trustcommerce.com/tclink.html both have this module, which actually does the bulk of the work. All that Vend::Payment::TCLink does is to massage the payment data between Interchange and the Net::TCLink module. DescriptionThe Vend::Payment::TCLink module implements the trustcommerce() 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 TCLink 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 "trustcommerce". 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
TroubleshootingTry the instructions above, then enable test mode. A test order should complete. Disable test mode, then test in various TrustCommerce error modes by using credit card number "4222 2222 2222 2222". 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 available in [data session payment_error]. If nothing works:
NotesThere is actually nothing in Vend::Payment::TCLink; This module changes its package name to Vend::Payment and places things there. Authors
Credits
|
|
| Home | Legal nonsense | Privacy policy | Contact us |