-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathREADME
63 lines (40 loc) · 1.84 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
Some countries have regulations on the use of cryptographic libraries
like the ones embedded in TCLink. It may be unlawful to download TCLink
in these countries.
TCLink v3.4.4
Ruby Implementation
copyright (C) TrustCommerce 2007
http://www.trustcommerce.com
developer@trustcommerce.com
July 13, 2007
I. DESCRIPTION
TCLink is a thin client library to allow your e-commerce servers to
connect to the TrustCommerce payment gateway easily and consistently.
The protocol (which is the same across all platforms and languages) is
well-documented in the Web Developer's Guide, so please consult it for
any questions you may have about the protocol syntax itself.
II. LICENSE
TCLink for Ruby is released under the GNU LGPL. Please read LICENSE
for details.
III. REQUIREMENTS
You need to have the OpenSSL development libraries installed. Versions
prior to 0.9.6 may work, but are not supported; it is recommended you use
the most recent version.
Besides the normal Ruby install, you'll need the ruby-devel package,
which contains files needed for building Ruby extensions.
IV. INSTALLATION
[sudo] gem install tclink
V. TESTING
ruby tctest.rb
This script will run a test transaction and print the results.
VI. USAGE
The tctest.rb script shows a simple example of running transactions
through the TCLink API. For further information, please consult the TC
Developer's Guide, located in the doc subdirectory.
VII. NOTE
I packaged this up as a gem for my own uses. I am not affiliated with
Trust Commerce and have not modified any of the C code.
If you have trouble building this, you can download a tarball of the source
from Trust Commerce's vault.
--Keenan Brock
keenan@thebrocks.net