Req #18371 [Csd->WFx]: creditCard is probably out of scope
| From: | daniel dot oconnor at gmail dot com | Date: | Tue, 13 Mar 2012 23:13:49 +0000 |
| Subject: | Req #18371 [Csd->WFx]: creditCard is probably out of scope | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-8389@lists.php.net to get a copy of this message | ||
Edit report at https://pear.php.net/bugs/bug.php?id=18371&edit=1
ID: 18371
Updated by: daniel.oconnor@gmail.com
Reported By: dbezborodov at internode dot on dot net
Summary: creditCard is probably out of scope
-Status: Closed
+Status: Wont fix
Type: Feature/Change Request
Package: Validate_IR
Package Version: SVN
PHP Version: Irrelevant
Assigned To: arash
Roadmap Versions:
New Comment:
-Status: Closed
+Status: Wont fix
Previous Comments:
------------------------------------------------------------------------
[2011-03-20 21:17:50] arash
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: arash
------------------------------------------------------------------------
[2011-03-18 21:33:23] arash
Thanks for examining the code, you are right it would fail for AMEX and
probably on some of other cards, but there is something you should know,
as Iran has been on embargo for so many years it has became an isolated
country and its banking system is almost isolated from the whole world!
Iranians created their own credit cards without considering outer world
standards, they may considered some standards but there is no reference
about that so i've created this validation method to do a very simple
check.
I'll add comments to clarify this and i'll continue my research about
Iranian credit card standards.
------------------------------------------------------------------------
[2011-03-18 01:51:44] dbezborodov
Description:
------------
After voting, I realised that creditCard would fail for AMEX cards.
Credit cards a global concept not limited to country, so it is out of
scope. Besides, other packages exist that do it better such as
Validate_Finance_CreditCard.
Best to just delete the method, IMO.
------------------------------------------------------------------------
--
Edit this bug report at https://pear.php.net/bugs/bug.php?id=18371&edit=1