Interchange Developer Resource
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

[ic] Online Payment Processing: globalsub vs. Perl module



Hello all.

I'm feebly attempting to develop an Interchange payment process for a
third-party payment processor.

I've been basing my work so far on the AuthorizeNet.pm and Signio.pm module
files and their respective GlobalSub routines, authorizenet and signio.

Could someone explain how the .pm modules are used by Interchange?  If I
understand it correctly, setting up a Route for payment processing calls the
GlobalSub routine matching the name of the Route.  In the cases of
Authorize.net and Signio, it doesn't appear that either of these GlobalSub
routines uses anything out of their respective .pm modules.  In fact, it
looks like the signio and authorizenet subroutines in the globalsub
directory are actually slightly modified versions of those in the .pm files.

In creating a new payment process, is the .pm module even necessary, or
can/should everything be handled in the GlobalSub routine?

Thanks.

--
Michael Lehmkuhl <michael@electricpulp.com>
Partner, Electric Pulp
http://electricpulp.com



Search for: Sort by: