Results 1 to 1 of 1
  1. #1
    Join Date
    Jan 2004
    Posts
    64,931
    Blog Entries
    7
    Plugin Contributions
    220

    Default MasterCard 2-series BIN patch

    We've heard reports of sites running into troubles handling the new MasterCard 2-series BIN numbers which started being rolled out in 2016.
    If your site accepts credit cards, you need to be able to support these new card numbers.

    Zen Cart started being compliant with this 2-series BIN in November 2016 with the release of Zen Cart v1.5.5b.
    Users of Zen Cart v1.5.5b and newer are ALREADY compliant.


    If you are using Zen Cart v1.5.5a or older, then to support the new MasterCard 2-series BIN card numbers, you will need to apply a small patch.


    Patch Details
    For sites using Zen Cart v.1.5.5a or older, you will need to replace the /includes/classes/cc_validation.php file with the one from ZC v1.5.5b+ or v1.5.6

    Download the raw PHP file contents for cc_validation.php here. (right-click and choose "Save As...", then upload to your site's server)

    Or use the zipped attachment below. Unzip it and upload the cc_validation.php file to your site's server.


    NOTE: While applying this simple patch is a short-term "quick fix", it would be VERY PRUDENT for you to set aside time in the next couple months to do a proper upgrade to a newer Zen Cart version. Running older versions may leave you non-compliant with other ecommerce industry requirements, or leave you incompatible with webserver software upgrade requirements which might mean your store will suddenly break due to PHP version incompatibilities in your older Zen Cart code. Upgrading annually is the best way to avoid compatibility and compliancy issues.
    Attached Files Attached Files
    .

    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. [Done v155b] MasterCard 2-series BIN
    By jackie.taferner in forum Bug Reports
    Replies: 10
    Last Post: 9 Apr 2017, 09:34 PM
  2. Replies: 15
    Last Post: 2 Oct 2009, 11:45 AM
  3. A series of probs re. customisation
    By Cirque-Samsara in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 2 Feb 2007, 03:44 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