Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2005
    Location
    UK
    Posts
    76
    Plugin Contributions
    0

    Default 3d-secure errors with Solo cards and v1.3.9b

    Quote Originally Posted by waddtown View Post
    I am having the exact same problem with maestro cards We were not able to process your order. Please select an alternate payment
    method, or contact the store owner for assistance. ( 7 [Field format error:
    12000-Transaction is not compliant due to missing or invalid 3D-secure
    authentication values. Looking at the log it would appear that its not even going through to cardinal to perform the 3d secure bit. Any ideas why this is happening
    Since the new 1.3.9b release I am now having the same problem with solo cards
    We were not able to process your order. Please select an alternate payment
    method, or contact the store owner for assistance. ( 7 [Field format error:
    12000-Transaction is not compliant due to missing or invalid 3D-secure
    authentication values]) Field format error: 12000-Transaction is not
    compliant due to missing or invalid 3D-secure authentication values

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

    Default Re: 3d Secure and cardinal centinel

    Do you have Solo enabled in Admin->Configuration->Credit Cards?

    My understanding is that Solo should not be processed through 3d-secure, so I'm wondering if maybe your card is being treated as Maestro when it shouldn't be? Or maybe it's being treated as Solo when it should really be treated as Switch/Maestro?

    I'd need to know the first 6 digits of the card number, and the number of digits in total.
    .

    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
    Feb 2005
    Location
    UK
    Posts
    76
    Plugin Contributions
    0

    Default Re: 3d Secure and cardinal centinel

    Quote Originally Posted by DrByte View Post
    Do you have Solo enabled in Admin->Configuration->Credit Cards?

    My understanding is that Solo should not be processed through 3d-secure, so I'm wondering if maybe your card is being treated as Maestro when it shouldn't be? Or maybe it's being treated as Solo when it should really be treated as Switch/Maestro?

    I'd need to know the first 6 digits of the card number, and the number of digits in total.
    Solo is enabled
    16 digits in total
    1st 6 digits 676710

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

    Default Re: 3d Secure and cardinal centinel

    Quote Originally Posted by waddtown View Post
    Since the new 1.3.9b release I am now having the same problem with solo cards
    /includes/modules/payment/paypaldp.php
    starting at line 2454 you have this section of code. Replace yours with this:
    Code:
      function determineCardType($cardNumber) {
        $cardNumber = preg_replace('/[^0-9]/', '', $cardNumber);
        // NOTE: We check Solo before Maestro, and Maestro/Switch *before* we check Visa/Mastercard, so we don't have to rule-out numerous types from V/MC matching rules.
        if (preg_match('/^(6334[5-9][0-9]|6767[0-9]{2})[0-9]{10}([0-9]{2,3}?)?$/', $cardNumber)) {
          $cardType = "SOLO";
        } else if (preg_match('/^(49369[8-9]|490303|6333[0-4][0-9]|6759[0-9]{2}|5[0678][0-9]{4}|6[0-9][02-9][02-9][0-9]{2})[0-9]{6,13}?$/', $cardNumber)) {
          $cardType = "MAESTRO";
        } else if (preg_match('/^(49030[2-9]|49033[5-9]|4905[0-9]{2}|49110[1-2]|49117[4-9]|49918[0-2]|4936[0-9]{2}|564182|6333[0-4][0-9])[0-9]{10}([0-9]{2,3}?)?$/', $cardNumber)) {
          $cardType = "MAESTRO"; // SWITCH is now Maestro
        } elseif (preg_match('/^4[0-9]{12}([0-9]{3})?$/', $cardNumber)) {
          $cardType = 'VISA';
        } elseif (preg_match('/^5[1-5][0-9]{14}$/', $cardNumber)) {
          $cardType = 'MASTERCARD';
        } elseif (preg_match('/^3[47][0-9]{13}$/', $cardNumber)) {
          $cardType = 'AMEX';
        } elseif (preg_match('/^3(0[0-5]|[68][0-9])[0-9]{11}$/', $cardNumber)) {
          $cardType = 'DINERS CLUB';
        } elseif (preg_match('/^(6011[0-9]{12}|622[1-9][0-9]{12}|64[4-9][0-9]{13}|65[0-9]{14})$/', $cardNumber)) {
          $cardType = 'DISCOVER';
        } elseif (preg_match('/^(35(28|29|[3-8][0-9])[0-9]{12}|2131[0-9]{11}|1800[0-9]{11})$/', $cardNumber)) {
          $cardType = "JCB";
        } else {
          $cardType = "UNKNOWN";
        }
        return $cardType;
      }
    .

    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. #5
    Join Date
    Feb 2005
    Location
    UK
    Posts
    76
    Plugin Contributions
    0

    Default Re: 3d Secure and cardinal centinel

    works great thanks :)

 

 

Similar Threads

  1. solo and maestro cards
    By theshmoo in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 12 Feb 2009, 02:12 PM
  2. [Done v1.3.9] Solo cards with Website Payments pro
    By flobster in forum Bug Reports
    Replies: 16
    Last Post: 18 Jun 2008, 01:12 PM
  3. PayPal Pro - UK Switch/Solo/Maestro cards
    By Fuzion in forum PayPal Website Payments Pro support
    Replies: 17
    Last Post: 7 Mar 2008, 07:10 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