You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Peter Miljanovic (JIRA)" <ji...@apache.org> on 2009/01/23 20:57:59 UTC
[jira] Created: (VALIDATOR-272) CreditCardValidator returns false
on validating Visa card which start with 4530
CreditCardValidator returns false on validating Visa card which start with 4530
-------------------------------------------------------------------------------
Key: VALIDATOR-272
URL: https://issues.apache.org/jira/browse/VALIDATOR-272
Project: Commons Validator
Issue Type: Bug
Affects Versions: 1.3.1 Release
Environment: Java SDK 6
Reporter: Peter Miljanovic
The credit card validation does not successfully validate Visa card numbers beginning with 4530.
CreditCardValidator ccv = new CreditCardValidator();
if (ccv.isValid("4530424242424242")) {
// returns false
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (VALIDATOR-272) CreditCardValidator returns false
on validating Visa card which start with 4530
Posted by "Niall Pemberton (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/VALIDATOR-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niall Pemberton resolved VALIDATOR-272.
---------------------------------------
Resolution: Invalid
The check digit on the number you supply is not valid. The credit card validator checks this
http://en.wikipedia.org/wiki/Luhn_algorithm
> CreditCardValidator returns false on validating Visa card which start with 4530
> -------------------------------------------------------------------------------
>
> Key: VALIDATOR-272
> URL: https://issues.apache.org/jira/browse/VALIDATOR-272
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: 1.3.1 Release
> Environment: Java SDK 6
> Reporter: Peter Miljanovic
>
> The credit card validation does not successfully validate Visa card numbers beginning with 4530.
> CreditCardValidator ccv = new CreditCardValidator();
> if (ccv.isValid("4530424242424242")) {
> // returns false
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.