[ic] Edits to LinkPoint GlobalSub?
Jeff cox
interchange-users@icdevgroup.org
Sun Jan 26 13:17:00 2003
Kevin,
Exactly what I thought. However, having now done some research
on what currently exists... got a couple questions.
1. Thomas, did you in fact convert the globalsub to a
Vend::Payment::Linkpoint module? I would hate to re-invent the wheel.
2. I was thinking of just using he basic linkpoint C payment library,
rather than purchasing the perl wrapper... basically using Inline C to
make my own wrapper. Any thoughts on that?
3. I have set up the 4.9.5 release... anyone know of why this wouldn't
work with that release?
Thanks for any help...
Jeff
-----Original Message-----
From: interchange-users-admin@icdevgroup.org
[mailto:interchange-users-admin@icdevgroup.org] On Behalf Of Kevin Walsh
Sent: Thursday, January 02, 2003 7:28 PM
To: interchange-users@icdevgroup.org
Subject: RE: [ic] Edits to LinkPoint GlobalSub?
Thomas J.M. Burton [tom@globalfocusdm.com] wrote:
>
> I'm in the process of setting up the LinkPoint GlobalSub (originally
> written by Josh Simpson before being modified by Richard Eicher and
> then Austin Markus and found at:
> http://www.interchange.rtfm.info/downloads/payments/index.html)
>
> Upon reviewing the GlobalSub, it occurred to me that perhaps some
lines
> should be revised to use some of the existing mv_ variables, allowing
> the GlobalSub to be used by multiple catalogs on one server, each with
> its own LinkPoint account.
>
> Since I don't consider myself much of a programmer (although I seem to
> be heading in that direction more and more each day), I was wondering
> if someone might be able to give be feedback about these proposed
> changes. Perhaps this was not done for some reason I am unaware of,
and
> I'm wasting bytes by writing this. :)
>
> Current GlobalSub (lines 9-12):
>
> my $hostname = "secure.linkpt.net";
> my $port = "1139";
> my $storename = "YOUR STORENAME";
> my $keyfile = "FULL PATH OF YOUR .PEM FILE";
>
>
> Proposed Changes (based on authorizenet GlobalSub):
>
> my $port = "1139";
>
> my $hostname = $::Variable->{MV_PAYMENT_SERVER} ||
> $::Variable->{CYBER_SERVER} ||
> 'secure.linkpt.net';
>
> my $storename = $::Variable->{MV_PAYMENT_ID} ||
> $::Variable->{CYBER_ID}
> or return undef;
>
> my $keyfile = $::Variable->{MV_PAYMENT_PEM}
> or return undef;
>
>
> Thanks in advance for any input on this topic. :)
>
Why not go the rest of the way and convert the GlobalSub into a
Vend::Payment::LinkPoint module? It probably wouldn't take up
a lot more of your time and would allow any of the standard
methods of per-site Interchange Payment module configuration to
be used.
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin@cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users