View Cart|Wish List|Login|Register | Thursday, February 09, 2012
 
 Search   ..:: Support &
    Service
  Forum
::..
 
    Minimize
www.catalooksupport.com ::: another place for CATALooK.netStore support

    Minimize
SearchForum Home
     
  DotNetNuke  CATALooK.netStore  CV2 (Card Secur...
 CV2 (Card Security Code) Not Stored
 
 4/4/2009 5:43:50 PM
jess.hartmann@promax.com
2 posts


CV2 (Card Security Code) Not Stored
I purchased the full version with source code a few months back. I have found a problem with that version, 5.7.8 and I would like to know if it has been fixed it in the current version, 5.8.1. The problem is that the Credit Card Security code (CV2) is not saved to the transaction table when I have selected Save Credit Card Information Option. Looking into the code (ShoppingCart.ascx.vb) it appears that the code is commented out to pass the CV2w code to the CAT_SaveCCData module. Has anyone run into this? I am not getting any response on this issue - have posted in support and emailed directly. What do I need to do?
 3/15/2010 11:30:01 AM
host
1831 posts
1st


Re: CV2 (Card Security Code) Not Stored

Storing the CV2 code is on your own risk because this is against the VISA security guidelines. By default only the Credit Card number will be stored.

 

To also store the CV2 code you could execute the script below via host -> SQL (turn on the ‘Run As Script’ option). You could also add a check for the CardType parameter to the stored proc below to store only the data of certain Credit Cards e.g. Amex only. In this case you must display the CC type selector and make it mandatory via cart module options. Possible values are: ‘VISA’, ‘MC’, ‘AMEX’, ‘DC’, ‘Discover’, ‘JCB’, ‘DELTA’, ‘SOLO’, ‘SWITCH’, ‘MAESTRO’, ‘CIRRUS’.

 

if exists (select * from sysobjects where id = object_id(N'{databaseOwner}[CAT_SaveCCData]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)

drop procedure {databaseOwner}[CAT_SaveCCData]

GO

 

 

CREATE procedure {databaseOwner}CAT_SaveCCData

(

 

            @TransactionID nvarchar(255) = Null,

            @AuthCode nvarchar(50),

            @AvsCode nvarchar(250),

            @TransactionType nvarchar(50),

            @OrderID nvarchar(250),

            @Number nvarchar(255),

            @Amount money,

            @Year int,

            @Month int,

            @Description nvarchar(255),

            @FirstName nvarchar(50),

            @LastName nvarchar(50),

            @ErrorMessage ntext = Null,

            @Code nvarchar(255),

            @Address nvarchar (255) ,

            @City nvarchar (50) ,

            @Country nvarchar (50) ,

            @Email nvarchar (50) ,

            @Phone nvarchar (50) ,

            @StateProvince nvarchar (50) ,

            @ZipPostal nvarchar (50) ,

            @CardType nvarchar (20) ,

            @ClientIP nvarchar (50)

)

AS

 

Insert Into Transactions

(

            TransactionID,

            AuthCode,

            AvsCode,

            TransactionType,

            OrderID,

            Number,

            Amount,

            Year,

            Month,

            Description,

            FirstName,

            LastName,

            ErrorMessage,

            TransactionDate,

            Code,

            Address,

            City,

            Country,

            Email,

            Phone,

            StateProvince,

            ZipPostal,

            CardType,

            ClientIP

)

Values

(

            @TransactionID,

            @AuthCode,

            @AvsCode,

            @TransactionType,

            @OrderID,

            @Number,

            @Amount,

            @Year,

            @Month,

            @Description,

            @FirstName,

            @LastName,

            @ErrorMessage,

            GetDate(),

            @Code,

            @Address,

            @City,

            @Country,

            @Email,

            @Phone,

            @StateProvince,

            @ZipPostal,

            @CardType,

            @ClientIP

)

 

GO

 

 

Please note that storing the CV2 code is against the requirements from the VIA PCI DSS Compliance Acceleration Program. Using this script is at your own risk.


This code works with all CATALooK.netStore version >= 5.9.4.

 

 6/11/2010 7:29:44 AM
promodaz
45 posts


Re: CV2 (Card Security Code) Not Stored
Is there a fix for Catalook 5.9.2?
  DotNetNuke  CATALooK.netStore  CV2 (Card Secur...

    Minimize
www.excommerce.com ::: eXcommerce are a dedicated reseller of Catalook. If you want the features of catalook without the hassle of setup and maintenance and want some extra support options please check our services.
      

References / Live Stores | Forum | Trial Downloads | Resource Directory | Release History | Support Requests | Referral Program | Contact
CATALooK |  Terms Of Use |  Privacy Statement
Copyright 2002-2010 CATALooK