Git Product home page Git Product logo

credit-card-library's Introduction

About
=====

The following library contain source code for validating the checksum and structure of known credit cards companies.
This information is released under LGPL and intended to help creating free library for checking validity of credit cards.
The intent in the long run of this library is to be a shard library so all programming languages can use it using binding.
The code does not arrive instead of automatic banking validation systems, but as a measure that should arrive prior of using such system.

Remarks
-------

The following version 0.1 beta is not fully checked, and there are few known problems:
  1. Not a full support for JCB - There is a need for additional information regarding that credit card.
  2. Not a full support for Isracard - There is a need for additional information regarding the allowed prefix of the credit card, and a generator to validate numbers as much as possible.
  3. There are several credit cards that I did not find any generators for, so I did not check them.  
  4. The current list of supported credit cards (including the ones that where not checked yet):
     * MasterCard
     * Visa (13 and 16 in length)
     * Visa Electron
     * American Express
     * Diners Club Carte Blanche
     * Diners Club International
     * Diners Club US and Canada
     * Discover
     * JCB
     * Laser
     * Maestro
     * Solo
     * Switch
     * Isracard

If you have information about additional credit cards or you can help working on existed credit cards, please donate your code to this units so anyone could use your work.

Files included by this package:
  * README                     - This file
  * lgpl-3.0.txt               - The library license
  * src/test.pp                - Some simple tests for the library (work in progress)
  * src/luhn.pp                - Implementation of the Luhn algorithm 
  * src/creditcard_validity.pp - The validation library (contain documentation inside for now -> will be extracted on next versions to an html document using fpdoc)
  
=============================================================================================
= This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; =
= without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =  
= See the GNU Lesser General Public License for more details.                               =
=                                                                                           =
=    IF YOU DO NOT AGREE WITH THE TERMS OF THE LGPL LICENSE, DO NOT USE THIS LIBRARY !!!    =
=============================================================================================

credit-card-library's People

Contributors

ik5 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.