[Phplib-trackers] [ phplib-Patches-548449 ] CC validation formula
Brought to you by:
nhruby,
richardarcher
|
From: <no...@so...> - 2002-04-25 06:33:21
|
Patches item #548449, was opened at 2002-04-25 16:33 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403613&aid=548449&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Richard Archer (richardarcher) Assigned to: Nobody/Anonymous (nobody) Summary: CC validation formula Initial Comment: From: Lindsay Haisley Here's a neat little piece which I put together to check credit card numbers. The algorithm for doing this is based on what's called the LUHN formula which you can find lots of places such as <http://www.webopedia.com/TERM/L/Luhn_formula.html> although credit card companies won't tell you what it is :-). This might make a nice add-on to the cart class, although it's certainly functionally peripheral to operation of the class. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403613&aid=548449&group_id=31885 |