[ic] Linkpoint

kenshin@planetanime.com interchange-users@icdevgroup.org
Fri Oct 25 17:57:00 2002


> Ok I have a few questions:
>
> 1. Will IC work with Linkpoint and if so how???
>
IC will work with linkpoint.  For ease, you will need to purchase the
LPerl/lbin from LinkPoint's web site (hopefully your OS is supported) and
grab a copy of the LinkPoint GlobalSub originally written by Josh Simpson
before being modified by Richard Eicher and then Austin Markus here:
http://www.interchange.rtfm.info/downloads/payments/index.html

Look toward the bottom of this page under "other payment gateways"
section.  In LinkPoint speak, this GlobalSub is your perl wrapper.  You
will need to couch it in these terms if you need to speak to the linkpoint
tech support about your setup.
Make a directory in your interchange directory named globalsub and copy
the file there (i named mine linkpoint).
At the end of your interchange.cfg file include the new globalsub like so:
include globalsub/linkpoint

Don't forget to edit your new globalsub with your info like storename and
the location of your .pem file.
Copy your lbin executable that came with your LPerl to a convenient
location (i put mine in interchange/bin/) and edit your linkpoint file
that begins:$lperl = new LPERL("/location/of/your/lbin/file/lbin","$LPERL::EASYFUNCS");
The rest of the edits in this file should be easy and self explanitory.

The rest of the procedure is the same as adding any real time credit card
processor.
For example:
add the following to your variables database or catalog.cfg
MV_PAYMENT_MODE linkpt_charge

and make sure your credit_card profile in your order profiles file
(profiles.order) still has the following:
{{{...snip...}}}
[if variable MV_PAYMENT_MODE]
&credit_card=standard keep __CREDIT_CARDS_ACCEPTED__
&charge=[var MV_PAYMENT_MODE][cgi mv_payment_test]
&set=mv_payment Real-time Credit Card (%c -- [var MV_PAYMENT_MODE])
{{{...snip...}}}

and I think that's it.

Good luck,
mike k.