| 1 |
|
| 2 |
|
| 3 |
Business::OnlinePayment::TCLink v1.03 |
| 4 |
copyright (C) TrustCommerce 2002 |
| 5 |
|
| 6 |
All rights reserved. This program is free software; you can redistribute it |
| 7 |
and/or modify it under the same terms as Perl itself. |
| 8 |
|
| 9 |
http://www.trustcommerce.com |
| 10 |
[email protected] |
| 11 |
|
| 12 |
January 10, 2003 |
| 13 |
|
| 14 |
I. DESCRIPTION |
| 15 |
|
| 16 |
This is Business::OnlinePayment::TCLink, a Business::OnlinePayment |
| 17 |
backend module for TrustCommerce. It is only useful if you have an |
| 18 |
account with TrustCommerce: http://www.trustcommerce.com |
| 19 |
|
| 20 |
Dan Helfman <[email protected]> is the author. The module is |
| 21 |
derived from code by Jason Kohles and Ivan Kohler. Email |
| 22 |
[email protected] for help with using this module. |
| 23 |
|
| 24 |
Business::OnlinePayment is a generic interface for processing payments |
| 25 |
through online credit card processors, online check acceptance houses, |
| 26 |
etc. (If you like buzzwords, call it an "multiplatform |
| 27 |
ecommerce-enabling middleware solution"). |
| 28 |
|
| 29 |
II. BUILD |
| 30 |
|
| 31 |
First, follow the instructions in the Net::TCLink Perl package |
| 32 |
(distributed separately) to install it as root. The package is availble at: |
| 33 |
|
| 34 |
http://trustcommerce.com/tclink.html |
| 35 |
|
| 36 |
To build Business::OnlinePayment::TCLink, you need only execute the |
| 37 |
following two commands: |
| 38 |
|
| 39 |
$ perl Makefile.PL |
| 40 |
$ make |
| 41 |
|
| 42 |
III. INSTALLATION |
| 43 |
|
| 44 |
If you wish to install globally (recommended), execute the following |
| 45 |
command as root: |
| 46 |
|
| 47 |
# make install |
| 48 |
|
| 49 |
If you do not have root priviledges on the machine, or do not wish to |
| 50 |
install Business::OnlinePayment::TCLink globally, you may still load the |
| 51 |
module manually from the blib directory where it is built. Assuming the |
| 52 |
name of your test script is test.pl, use the following command line: |
| 53 |
|
| 54 |
$ perl -Iblib/arch -Iblib/lib test.pl |
| 55 |
|
| 56 |
You may wish to change "blib/arch" and "blib/lib" to be the full path |
| 57 |
to those locations, so that you may execute the command anywhere. |
| 58 |
|
| 59 |
Or, you may insert the following code at the top of your script: |
| 60 |
|
| 61 |
use lib "blib/lib"; |
| 62 |
use lib "blib/arch"; |
| 63 |
|
| 64 |
Again, you may prefer to use the full path name here. |
| 65 |
|
| 66 |
IV. USAGE |
| 67 |
|
| 68 |
The perldoc documentation contains usage information and some example |
| 69 |
code. Access it as follows: |
| 70 |
|
| 71 |
$ perldoc Business::OnlinePayment::TCLink |
| 72 |
|
| 73 |
Information on integrating this module with the Freeside billing and |
| 74 |
account administration package is available in README.freeside. |