Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Anyone Losing CVV Numbers??

    fine.

    Undo all that, and add this around line 192:
    Code:
        if (MODULE_PAYMENT_CC_COLLECT_CVV == 'True')  {
          $_POST['cc_cvv'] = preg_replace('/[^0-9.%]/', '', $_POST['cc_cvv']);
          if ((strlen($_POST['cc_cvv']) < CC_CVV_MIN_LENGTH) || ($cc_validation->cc_type == 'American Express' && strlen($_POST['cc_cvv']) < 4)) {
            $error .= ($error == '' ? '' : '<br />') . str_replace('\n', '', MODULE_PAYMENT_CC_TEXT_JS_CC_CVV);
            $result=0;
          }
        }
        /**
         *
         */
        if ( ($result == false) || ($result < 1) ) {
          $payment_error_return = 'payment_error=' . $this->code . '&cc_owner=' . urlencode($_POST['cc_owner']) . '&cc_expires_month=' . $_POST['cc_expires_month'] . '&cc_expires_year=' . $_POST['cc_expires_year'];
    If you have that much fraud activity going on on your site, you should really be using a live gateway. And, you might consider targeting a different market ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    May 2007
    Posts
    181
    Plugin Contributions
    0

    Default Re: Anyone Losing CVV Numbers??

    Actually I have zero fraudulent activity as of yet but I just don't like the fact that customers can work around the system like that.

    But thanks for the code. Appreciated...

  3. #13
    Join Date
    Nov 2007
    Location
    Alameda, CA
    Posts
    38
    Plugin Contributions
    0

    Default Re: Anyone Losing CVV Numbers??

    I've been waiting to see if there will be a reply to this. I have not gotten a CVV number in the past 4 orders.

    After adding the modification suggested by Dr. Byte (thank you for your efforts on this so far!), I tested it and noticed that if I entered 3 spaces, I got the appropriate popup window saying I needed to have min. 3 numbers for cvv, but if I entered 4 spaces, then it passed the order through without a problem.

    We asked the last customer about why she didn't enter her CVV, and she said that she tried to enter her CVV, but kept getting errors.

    Any additional support on this would be appreciated! thank you!

  4. #14
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Anyone Losing CVV Numbers??

    Quote Originally Posted by vickilapp View Post
    We asked the last customer about why she didn't enter her CVV, and she said that she tried to enter her CVV, but kept getting errors.
    Did you happen to ask "what *kind* of errors"?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Nov 2007
    Location
    Alameda, CA
    Posts
    38
    Plugin Contributions
    0

    Default Re: Anyone Losing CVV Numbers??

    Thanks for the quick response. Sorry, my employee didn't get more info than that. If we get another opportunity, we will ask again.

  6. #16
    Join Date
    Feb 2007
    Location
    Los Angeles
    Posts
    359
    Plugin Contributions
    0

    Default Re: Anyone Losing CVV Numbers??

    Hi

    Just want to make sure I done it right

    I added the code from Thread 11, and after testing it , it dose not allow the 41111111111 anymore.
    Also when I try my real credit card number with modifying some of the numbers also it did not allow me to continue,
    Is Zen system know which number are real and which one are not? Is Zen cart having some kind of record to verify the credit cards numbers?

    The issue with the CVV number looks ok now

    Thank you

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Delete all CVV Numbers At Once?
    By IllusionGuy in forum General Questions
    Replies: 2
    Last Post: 30 Jun 2009, 07:46 PM
  2. CVV Numbers with Offline Processing
    By epibeta in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 21 Apr 2008, 12:32 AM
  3. Losing line numbers
    By jt3c in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Oct 2007, 04:34 PM

Posting Permissions

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