Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
(mirror) Trust Commerce TCLink e-commerce library as a gem. (Not affiliated with Trust Commerce, and I no longer use this library)
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
doc
ext
LICENSE
README
setup.rb
tclink.gemspec
tctest.rb

README

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
Something went wrong with that request. Please try again.