[ic] help me hack out a custom GlobalSub for LinkPoint/CSI!

Sonny Cook [email protected]
Thu, 12 Oct 2000 10:11:33 -0500 (CDT)

Two things are immediately obvious.  If you use a hyphen in a hash entry
without quoting it, and especially with strict turned off, perl is going
to attempt to subtract something.  You need $result{'order-id'} instead of
$result{order-id}.  The second thing is that there is a bug that wipes the
credit card number before you can get to it.  The &credit_card standard
keep __CREDIT_CARDS_ACCEPTED__ line in profiles.order breaks unless keep
is the last thing on the line.  Since you aren't going to encrypt the
number and are going to keep it in memory until you use it anyway, you can
just delete this directive.

It should work the way you are doing it, but you can also access those
variables you are passing in through the %::Value hash.  Check out the
signio globalsub that comes with the distro.
Sonny Cook 

"I don't want fifteen dollars."  --Franklin D. Rooselvelt

On Wed, 11 Oct 2000, josh simpson wrote:

> Hey all,
>     I have been struggling mightily, with my underinformed,
> blunt-instrument-style hacking methods, to coerce Interchange into
> working with
> CSI/LinkPoint creditcard processing.  We purchased their perl-wrapper
> (consisting
> of a perl module LPERL.pm, a binary, and an example script for
> integrating into a
> shoppingcart-type system), and I have spent a few sleep-deprived days
> bludgeoning
> this into some semblance of functionality.  "Some semblance" being the
> operative
> phrase, as there are a number of loose ends that, as we now know, could
> turn out
> to be very nasty means of unravelling the whole shebang.