News:

Support the VirtueMart project and become a member

Main Menu

Error: 2-1095-2

Started by jboulton, July 13, 2010, 23:00:21 PM

Previous topic - Next topic

jboulton

I have VM 1.1.4 and Joomla 1.5.18, ps_authorize payment module with Internetsecure.  In FF3 it works fine; however in IE8 I get this error message:

Error: 2-1095-2----This transaction has been declined
Error: Failure in Processing the Payment (ps_authorize)

Please help!  I would appreciate any suggestions.  Thanks.

mowlman

I would log into AuthorizeNet and verify whether the transaction was successful or if there is an error. the error codes are VERY cryptic

You might be able to edit your ps_authorize.php file around line 440

Admin/components/com_virtuemart/classes/payment/ps_authorize.php

you can put in some code to echo the error codes to find out which array they are coming from.

// Payment Declined
elseif ($response[0] == '2') {

if (AN_SHOW_ERROR_CODE == 'YES') {
$vmLogger->err( $response[0] . "-" . $response[1] . "-" . $response[2] . "-" .  $response[5] . "-" . $response[38] . "-" . $response[39] . "-" . $response[3] );
    } else {
            $vmLogger->err( $response[3] );
}

       
            //Uncomment for debugging purposes
            //$vmLogger->err( "* * * *" );
            //$vmLogger->err( $response[0] . "= response0" );
            //$vmLogger->err( $response[1] . "= response1" );
            //$vmLogger->err( $response[2] . "= response2" );
            //$vmLogger->err( $response[5] . "= response5" );
            //$vmLogger->err( $response[38] . "= response38" );
            //$vmLogger->err( $response[39] . "= response39" );
            //$vmLogger->err( "* * * *" );

   
A couple of codes I have been able to figure out:
If response[0] is 2 , then declined
$response[5] == 'N' then address mismatch
$response[5] == 'A' then BILLING ZIP CODE DOES NOT MATCH - CHECK BILLING ZIP ON BILLING / SHIPPING ADDRESS SCREEN   


Maybe someone else can shed more light on the subject of error codes?

Not sure why IE shows the error, probably due to some script they are using?
I kind of wish IE browser would go away, MS doesn't play well like all of the other browsers.   You should also try to see if the error code is shown within google chrome as well?

Which I could be more help, perhaps some else can?
Good luck

-mowlman