Results 1 to 4 of 4
  1. #1
    mastromb is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Dec 2009
    Location
    Plymouth, MN
    Posts
    37

    Credit Card Info, Where?

    In my database I have a payment table, but the payments can come in multiple forms (Cash, Check, Debit/Credit Cards). I want to record the specific infomation about those payments such as check number for checks. However for Debit/Credit Cards I want to keep track of the card number, CVS number, expiration date, etc.



    My question though is should I create a separate table for the credit card information or should it just be part of the payment table. One reason I am leaning toward a separate table is so I can apply some security measures to that sensative information. If it is separate it would be a 1 to 1 relationship, I think.

    What about the check number, should it be in a separate table as well? I have a combo box in the payment table to select the payment type.

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    to keep the data normalized, you should use fields in the same table. no other table is necessary i dont think. and you can always sensor that info out anyway. why another table to do it? you can do that anywhere!

  3. #3
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    if by payment table - you mean that every time you process a payment you record the credit card info with that record - - - and therefore the credit card info will be repeated in this table with each payment that is repeated (perhaps monthly) - then the credit card data should definitely be in a separate table - with just a unique ID cross referencing in the payment records.

    normalized data means never repeating the same data.

  4. #4
    Join Date
    May 2010
    Posts
    1

    Storing Credit Card Info

    I know this is an older post, but I think it's important to note that it's very risky to store credit card information in your database in general, and if not done right, can jeopardize your PCI Compliance status.

    The ideal way to handle this is to have your gateway provider store the billing details - credit card, exp date, cvv2, and you just store a token in your database. You can then use the token to access the billing information as needed in your gateway partners secure, PCI compliant, system. This type of setup removes a huge exposure from the merchant in terms of risk of breach and PCI compliance.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Print next 8 days & info
    By skippernick in forum Reports
    Replies: 2
    Last Post: 04-06-2010, 12:38 PM
  2. Getting Info From Tables with Queries
    By SteveI in forum Queries
    Replies: 0
    Last Post: 03-01-2010, 08:33 AM
  3. Import with a wild card
    By ukgooner in forum Import/Export Data
    Replies: 3
    Last Post: 09-09-2009, 08:08 AM
  4. SQL- retrieving info
    By jmarti57 in forum Programming
    Replies: 0
    Last Post: 12-10-2008, 03:05 PM
  5. Summing info in one Sub form to another
    By Mxcsquared in forum Forms
    Replies: 0
    Last Post: 12-14-2005, 11:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums