[ic] CyberCash payment not processing

Matt Flaherty interchange-users@lists.akopia.com
Thu May 24 11:31:00 2001


Hi, I'm running...

Red Hat Linux release 6.2 (Piglet)
VA Linux Release 6.2.3 08/01/00
Kernel 2.2.14-VA.2.1smp on a 2-processor i686

with Apache:
Server version: Apache/1.3.12 (Unix)  (Red Hat/Linux)

and Interchange 4.6.5 running on Perl v5.6.1


While investigating the module Vend::Order, I discovered that the variable
$Vend::CC3 is not set, in spite of it apparently being set to 1 in
bin/interchange in an eval block:

-----------------------^snip-------------------------
        eval {
                package Vend::Order;
                require CCMckLib3_2 ;
                import CCMckLib3_2 qw/InitConfig %Config $MCKversion/;
                require CCMckDirectLib3_2;
                import CCMckDirectLib3_2 qw/SendCC2_1Server
doDirectPayment/;
                require CCMckErrno3_2;
                import CCMckErrno3_2 qw/MCKGetErrorMessage/;
                $Vend::CC3 = 1;
                $Vend::CC3server = 0;
                my $ver = $CCMckLib3_2::VERSION || '3.x';
                ::logGlobal({}, "CyberCash module found (Version %s)",
$ver )
                        unless $Vend::Quiet;
        };
-----------------------^snip-------------------------

If I comment out the eval and the closing brace and try to parse directly, I
get this compile error:

-----------------------^snip-------------------------
Global symbol "$VERSION" requires explicit package name at
/usr/local/interchange/bin/interchange line 2258, <DATA> line 1.
Execution of /usr/local/interchange/bin/interchange aborted due to
compilation errors.
-----------------------^snip-------------------------

The catalog's error.log shows nothing. The debug file shows nothing
specific:

-----------------------^snip-------------------------
Vend::Order:debug: profile 1 check result: var=mv_credit_card_valid val='1'
message='' Fatal=1 Final=0
Vend::Order:debug: check returned val='1' var=DEFINED
Vend::Order:debug: profile status now=1
Vend::Order:debug: checking profile 1: var=&charge val=mauthonly Fatal=1
Final=0
Vend::Order:debug: called _charge: ref=HASH(0x83f4a70) params=mauthonly
message=
Vend::Order:debug: cyber_charge, mode val= cgi= actual=
Vend::Order:debug: charge result: result= params=mauthonly message=Charge
operation '' failed
Vend::Order:debug: profile 1 check result: var=mauthonly val=''
message='Charge operation '' failed' Fatal=1 Final=0
Vend::Order:debug: check returned val='' var=DEFINED
Vend::Order:debug: profile status now=0
Vend::Order:debug: FINISH checking profile 1: Fatal=1 Final=0 Status=0
-----------------------^snip-------------------------

Can anyone help? Thanks.

Matt Flaherty