[ic] RE: CVV2/CID and Authorize.net

Sanjeev Topiwala s_tops at hotmail.com
Tue Apr 6 17:12:24 EDT 2004

>From: John Young <john_young at sonic.net>
>Sergei Voyakin wrote:
>>You are correct.  I ran a test and entered a wrong CVV number but got 
>>absolutely no error.  The transaction went through.  Where do I change the 
>>3.0 to 3.1 mode in both, Interchange and in Authorize.net.
>x_Version is only set in lib/Vend/Payment/AuthorizeNet.pm.  You can
>search for it in there:
>grep x_Version ~interch/lib/Vend/Payment/AuthorizeNet.pm
>If it is version 3.0, the payment gateway will ignore x_Card_Code
>values sent to it.  I know Interchange 5.1 already has it set to 3.1.
>I recommend using the latest version of IC, if possible (5+).  Even
>then, though, you will need to make this change for CVV2/CID functionality:
>--- AuthorizeNet.pm.orig	Thu Sep 11 13:12:56 2003
>+++ AuthorizeNet.pm	Thu Apr  1 18:18:09 2004
>@@ -403,7 +403,7 @@
>  		x_Method				=> 'CC',
>  		x_Card_Num				=> $actual->{mv_credit_card_number},
>  		x_Exp_Date				=> $exp,
>-		x_Card_Code				=> $actual->{cvv2},
>+		x_Card_Code				=> $actual->{mv_credit_card_cvv2},
>  		x_Trans_ID				=> $actual->{order_id},
>  		x_Auth_Code				=> $actual->{auth_code},
>  		x_Invoice_Num			=> $actual->{mv_order_number},
>John Young

Is it really necessary to change the Authorizenet.pm as mentioned above ? 
I'm on version 5.0.1 and want to use cvv2, but cannot change authorizenet.pm 
due to the access restrictions by my ISP. I tried looking at the code and 
saw that there are some mapping routines in Order.pm or Payment.pm which 
probably map mv_credit_card_cvv2 to cvv2, but am not sure about it. Can 
anyone please confirm that the change mentioned above "is needed" to get 
cvv2 working or is there a way to do it without these changes ?

- Sanjeev

Get rid of annoying pop-up ads with the new MSN Toolbar – FREE! 

More information about the interchange-users mailing list