[ic] AuthorizeNet Changes in 5.2

Russell Mann tech at khouse.org
Mon Jun 7 16:39:26 EDT 2004

>Sorry, I should have included the "why"!
>I'm getting this:
>Credit Card Information (Charge failed, reason: Authorizenet error: . 
>Please call in your order or try again.) Card Number (Authorizenet 
>error: . Please call in your order or try again.)

Whenever I've seen that error, it usually means that the Authorizenet post
failed to even happen completely, and Interchange ended up with an empty
response. The cause I've experience for this is signalling issues due to
threaded Perl. You can do the debugging I mentioned above to see what's
happening inside of Authorizenet.pm, or just put this at the top of your
checkout page:

                    my $string = $Tag->uneval( { ref =>
$Session->{payment_result} });
                    $string =~ s/{/{\n/;
                    $string =~ s/,/,\n/g;
                    return $string;

...what Perl version are you running, and did you compile it yourself with
threads turned off?

- Ed

Here's how I installed PERL:

wget http://www.cpan.org/src/stable.tar.gz
mv stable.tar.gz perl-5.8.4.tar.gz
tar -xzpf perl-5.8.4.tar.gz
cd perl-5.8.4
rm -f config.sh Policy.sh
sh Configure -de
make test
make install

Using that calc string I just get a "0"


More information about the interchange-users mailing list