Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2008
    Posts
    22
    Plugin Contributions
    0

    Default Authorize.net AIM and cc_validation.php

    I'm looking into an issue where, although my CC provider requires a CVV, I'm not getting an error at checkout_payment when a CVV isn't entered.

    It appears authorizenet_aim.php is attempting to validate using the validate function in cc_validation class, and is sending the CC number, expiry month, expiry year, and CVV (line 238 of authorizenet_aim.php) but the function doesn't take CVV as part of the argument.

    Am I overlooking something? I need the missing CVV to be caught before I send it to the gateway.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Authorize.net AIM and cc_validation.php

    The module already uses javascript to require that the field contain 3-4 digits before it will allow proceeding to the next step. See attached screenshot.

    Perhaps you've got something on your site that is breaking the supplied javascript?

    Name:  Screen Shot 2016-04-21 at 12.40.40 PM.jpg
Views: 85
Size:  31.9 KB
    .

    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.

  3. #3
    Join Date
    Mar 2008
    Posts
    22
    Plugin Contributions
    0

    Default Re: Authorize.net AIM and cc_validation.php

    Quote Originally Posted by DrByte View Post
    Perhaps you've got something on your site that is breaking the supplied javascript?
    I saw the javascript (there's definitely something conflicting with it). But, I thought it odd that the CVV gets passed to that function but it doesn't use it at all.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Authorize.net AIM and cc_validation.php

    Quote Originally Posted by juno View Post
    I thought it odd that the CVV gets passed to that function but it doesn't use it at all.
    I agree. Will have to investigate.
    .

    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.

 

 

Similar Threads

  1. v150 Difference Between Authorize.net (SIM) and Authorize.net (AIM)
    By joem83 in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 30 Aug 2012, 10:48 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR