[ic] Required Perl module Vend::Payment::processnet not present

Kevin Walsh kevin at cursor.biz
Wed Oct 4 22:03:18 EDT 2006


"David" <Davideth at charter.net> wrote:
> >> I am receiving the following error message when installing processnet.pm
> >>
> >> - - - [03/October/2006:13:59:21 -0400] - - Vend::Payment::processnet
> >> payment
> >> module initialized, using Net::SSLeay
> >> - - - [03/October/2006:13:59:21 -0400] - - Required Perl module
> >> Vend::Payment::processnet not present. Aborting catalog.
> >> > In line 0 of the configuration file 'interchange.cfg':
> >> >
> >> >
> >> In interchange.cfg:
> >>
> >> Require module Vend::Payment::processnet
> >>
> >> The module appears to initialize but fails for some reason.
> >> processnet.pm code follows:
> >>
> >> # Vend::Payment::processnet - Interchange processnet Support
> >> #
> >> # $Id: processnet.pm,v 2.0 2001/07/18 02:23:16 jon Exp $
> >> #
> >>
> >The most obvious thing that jumps out at me here is that the name of
> > the module has been changed from "ProcessNet" to "processnet", for some
> > reason.  You do seem to have changed it consistently, so it looks
> > as if it should be working.  I still suspect a problem in the
> > rename/edit.
> >
> > My first suggestion would be to get the original ProcessNet.pm file
> > and try that.  If you didn't make a backup before you started editing
> > then you can download the original from here:
> 
> Thanks, but that did not work. I tried both BoA.pm and TestPayment.pm and 
> they work. There must be something in the module structure or a
> missing config line.
> 
> Any suggestions on debugging this problem?
> 
> Where should I add or enable debug lines?
> 
I added the module to a test website and got a syntax error report.
I patched up the module, as shown below, and it now loads without
error.  You didn't report any syntax errors, so I assume that you must
must have a different problem. :-)

It might be worth patching the module anyway.  I haven't tested the
module, of course.  I'll upload the patched module to my RTFM website
in a while.

*** /tmp/ProcessNet.pm  Thu Oct  5 02:59:46 2006
--- ./ProcessNet.pm     Thu Oct  5 02:59:22 2006
***************
*** 205,211 ****
                $Vend::Payment::Have_LWP = 1 unless $@;

        }
-       logError("Test processnet entry:\n$selected\n");

        unless ($Vend::Payment::Have_Net_SSLeay or $Vend::Payment::Have_LWP) {
                die __PACKAGE__ . " requires Net::SSLeay or Crypt::SSLeay";
--- 205,210 ----
***************
*** 276,282 ****

        my %values = (
                                  vendor_id   =>   $user,
!                                 orderid     =>   $order_id
                                  pass_thru   =>   1,
                                  price       =>   $amount,
                                  name        =>   $actual{b_fname}." ".$actual{b_lname},
--- 275,281 ----

        my %values = (
                                  vendor_id   =>   $user,
!                                 orderid     =>   $order_id,
                                  pass_thru   =>   1,
                                  price       =>   $amount,
                                  name        =>   $actual{b_fname}." ".$actual{b_lname},

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the interchange-users mailing list