Full service web hosting, great prices and support. Starts at $1.99/month!
Results 1 to 5 of 5

Thread: Credit Card number problems!

  1. #1
    bibleman
    Guest


    Default Credit Card number problems!

    Hi,

    I have a question on the Extra Order Information.

    In the ADMIN section under catalog/admin/modules/payments/cc.php yo have a box where you can add an email for additional checkout information to be sent to whom ever you like.

    This is the wording of the box: CC Split Credit Card E-Mail Address If an e-mail address is entered, the middle digits of the credit card number will be sent to the e-mail address (the outside digits are stored in the database with the middle digits censored)

    I am using this feature to send myself the CVV number that is collected on my site in a separate email where the rest of the order information is not seen (for security purposes).

    The problem is when you use this feature it also censors the middle 8 digits of the credit card information on the ADMIN section of the orders. So when you go to edit orders or copy the credit card information for punching into Quickbooks... it is missing the middle 8 digits.

    So my question is: Can you turn off the command (wherever it is) that tells the "Extra Order Email" to "censor" out the middle digits of the Credit card information?

    Thanks
    Leon

  2. #2
    Arpit
    Guest


    Default

    well the line your looking for is:

    Code:
     'field' => substr($this->cc_card_number, 0, 4) . str_repeat('X', (strlen($this->cc_card_number) - 8)) . substr($this->cc_card_number, -4)),
    look under catalog/includes/modules/payment/cc.php around line # 137

  3. #3
    bibleman
    Guest


    Default

    Quote Originally Posted by Arpit
    well the line your looking for is:

    Code:
     'field' => substr($this->cc_card_number, 0, 4) . str_repeat('X', (strlen($this->cc_card_number) - 8)) . substr($this->cc_card_number, -4)),
    look under catalog/includes/modules/payment/cc.php around line # 137
    Yes you are right.... there it is.

    Do you know how to tell it to NOT X out the middle four numbers?

  4. #4
    osCMax Developer


    Credit Card number problems!


    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    23,134
    Contribute If you enjoy reading the
    content here, click the below
    image to support our site.
    Click Here To Contribute To Our Site

    Total Contributions For

    michael_s     $ 10.00
    Rep Power
    598


    Default

    It is a VERY BAD idea to do so. Since the CC is stored in plaintext in the DB, you want it obfuscated in some way. If you don't, you are liable for any damages that occur (and your merchant provider, if they find out, may pull your account on you.) Not to mention how easy it is to get into a database and harvest all the unencrypted cc numbers.

  5. #5
    Arpit
    Guest


    Default

    You got that right

Similar Threads

  1. Credit Card Verification Number
    By gamerevolt in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 09-08-2006, 10:29 AM
  2. Credit Card problems
    By lem in forum osCMax v1.7 Installation
    Replies: 3
    Last Post: 05-16-2006, 01:50 PM
  3. GPG with CVV2 and Blank GPG Email no credit Card Number?
    By tmullins in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 12-26-2005, 09:31 PM
  4. Problems with Secure Credit Card - GPG
    By nscmonkey in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 07-09-2004, 01:27 PM
  5. Credit Card Number is invalid message!!
    By Anonymous in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 11-27-2002, 01:54 PM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •