Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Posts
    10
    Plugin Contributions
    0

    Default does zencart authomatically check credit card validity

    So far the only way to check it is through authorize.net, is there anyway to check if the credit card is valid through simple php? I know that there is a special algorithm for checking if the credit card number is valid or not.

    Just to save time is there such a function in php/zen-cart?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: does zencart authomatically check credit card validity

    The supplied payment modules pre-validate the validity of the CC numbers automatically, using the standard MOD10 algorithms, as well as noting the typical numerical patterns of the more popular cards.
    .

    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 2006
    Location
    Tampa Bay, Florida
    Posts
    10,511
    Plugin Contributions
    126

    Default Re: does zencart authomatically check credit card validity

    ... and the contribs I've looked at reuse this core logic (see includes/classes/cc_validation.php).

    Good luck,
    Scott
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Credit Card Check Out
    By momaginness in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 19 Aug 2011, 07:07 PM
  2. Replies: 5
    Last Post: 29 Nov 2010, 06:28 AM
  3. Credit Card Check Out error, help, can not process credit cards after Super Orders
    By ciscomemory_net in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 28 Jul 2009, 06:01 AM
  4. Does Zencart Database save credit card details?
    By sahail312 in forum PayPal Website Payments Pro support
    Replies: 8
    Last Post: 28 May 2009, 07:49 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