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

John Young john_young at sonic.net
Fri Apr 2 19:27:39 EST 2004


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},



HTH,
John Young



More information about the interchange-users mailing list