Re: credit card software for Linux???

From: Robert Heller (heller_at_deepsoft.com)
Date: 07/26/03


Date: Sat, 26 Jul 2003 02:25:42 +0000


  "Adams-Blake Co." <atakeoutcanton@adams.takeme.out.-blake.com>,
  In a message on Fri, 25 Jul 2003 08:33:37 -0700, wrote :

"C> I asked this a year or so ago. Maybe there is something new out there?
"C>
"C> The only thing I need Windows for is to run PC-Authorize (by Tellen) that
"C> sends credit card orders to the bank so we get paid by Visa/MC/AMEX. Runs
"C> fine with Win4Lin.
"C>
"C> I was wondering if ANYONE knows of any software out there (free or not) that
"C> is native Linux. I'll even do a bit of hacking if necessary (but would rather
"C> not.)

The CyberCash people have a Linux SDK you can download. Uses either C
or Perl scripts to perform https type connections to their credit card
processing server. This is not cheap... (I was a partner with a
company that went this route). You need to edit and recompile a few
programs and/or write a few *simple* programs, if you need to do
something other than the stock sorts of things. The SDK includes some
libraries that implement the client-side of the https protocol -- the
transaction is converted to a POST CGI message and then sent over a SSL
connection to a https server. (Don't worry -- there are a simple to use
set of library calls that do all of the hairy bit hacking -- you just
make calls like:

                args = CCNewNVlist();
                CCAddPairNVlist( args, CC_ORDER_ID, oid);
                CCAddPairNVlist( args, CC_AMOUNT, amount);
                CCAddPairNVlist( args, CC_CARD_NBR, pan);
                CCAddPairNVlist( args, CC_CARD_EXP, exp);
                CCAddPairNVlist( args, CC_CARD_NAME, name);
                CCAddPairNVlist( args, CC_CARD_ADDR, addr);
                CCAddPairNVlist( args, CC_CARD_CITY, city);
                CCAddPairNVlist( args, CC_CARD_STATE, state);
                CCAddPairNVlist( args, CC_CARD_ZIP, zip);
                CCAddPairNVlist( args, CC_CARD_COUNTRY, country);

And then launch it with a call like:

        result = SendCC2_1Server("mauthonly", args);

All fairly painless C code.

A cheaper option is what I use with Deepwoods Software: Quick
Commerce. This service works by embedding a <form ...
action="https://trans.quickcommerce.com/..."> tag as your "Proceed to
Checkout" button. You include a pile of <input type="hidden" ...> tags
to pass info about the on-line order. I believe there are other
options and variations, including a variation of what CyberCash does
(I've not explored this since it would require that I have a proper
https web server (I have mod_ssl installed and running, but have bought
an 'official' SSL Cert -- all I have is an expired temp one -- *some
day* I may get an official SSL Cert -- for now I am 'punting' to Quick
Commerce secure server to collect CC info). I believe there are software
libraries for implementing the client-side of a https type connection
from a C, Perl, and maybe other languages.

Both CyberCash and Quick Commerce have secure web sites that a merchant
can log into to manually enter CC transactions. And since both (and I
would guess most others) have a https based API, it should be possible
to implement this for a random non-web based POS system under Linux.

"C>
"C> What do other small businesses who run Linux use to transmit their credit
"C> card sales to the bank?

Since *ALL* of my credit card sales are from my web site, it all goes
through my virtual store front using Quick Commerce's secure web server,
which is linked to from mine via my checkout button.

"C>
"C> Thanks,
"C>
"C> Al
"C>
"C>

                                 



Relevant Pages

  • RE: ISA 2006 and SSL
    ... Because the ISA 2006 is a new ... | 3) From your port I am reading things about publishing to a web server. ...
    (microsoft.public.isa)
  • Re: PPPoE ruined my servers, HELP!
    ... I don't do anything commercial with my machine, it is my "linux 101" class, I ... The web server is really ... running an MS web server on either machine, ping and traceroute both go right ... display the web site by domain name. ...
    (comp.os.linux.networking)
  • Re: PPPoE ruined my servers, HELP!
    ... I don't do anything commercial with my machine, it is my "linux 101" class, I ... The web server is really ... running an MS web server on either machine, ping and traceroute both go right ... display the web site by domain name. ...
    (alt.os.linux)
  • Re: What Was Your Experience When You First Started Using Linux?
    ... >inspired you to continue using linux. ... server and web server. ... beginning, but if you're going to host a web server and mail server, ... You soon get used to working with configuration files ...
    (alt.os.linux)
  • Re: How to: Setup Linux Box with MS Windows PCs
    ... Can you host a web server from your home using a standard DSL dynamically ... >> internet and has a webserver running on it. ... > forward from your Linux box. ...
    (comp.os.linux.networking)