[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: CyberCash payment not processing
Oh yeah, and here's a snippet from my catalog.cfg:
# Uncomment to use creditCardAuto if you want, now handled better in
# order profiles with "&credit_card=standard".
#CreditCardAuto Yes
# These are usually all you need for CyberCash 3
# Uncomment and edit to suit; make sure you remove CreditCardAuto somehow
#
Variable CYBER_CONFIGFILE
/data/www/A002000102164657/mck-cgi/conf/merchant_conf
Variable CYBER_VERSION 3.2
Variable CYBER_MODE mauthonly
#ifdef CYBER_MODE
Variable MV_PAYMENT_MODE mauthonly
CreditCardAuto No
#endif
> 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
>