Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IBAN validation fails incorrectly #124

Closed
elimentz opened this issue Mar 9, 2023 · 1 comment
Closed

IBAN validation fails incorrectly #124

elimentz opened this issue Mar 9, 2023 · 1 comment

Comments

@elimentz
Copy link

elimentz commented Mar 9, 2023

The IBAN validation fails for IBAN BE20063646982456. Not sure why, the IBAN validator indicates it is valid. I'm using version 4.2.1
Screenshot 2023-03-09 at 20 33 26

@globalcitizen
Copy link
Owner

globalcitizen commented Mar 21, 2023

I suggest removing the code and re-installing as you must have a modified version.

$ php test.php
IBAN BE20063646982456 is valid.
Array
(
    [checksum] => 20
    [bban] => 063646982456
    [bank] => 063
    [country] => BE
    [branch] =>
    [account] => 646982456
    [nationalchecksum] => 56
)
 - national checksum valid.
$ git pull
From github.com:globalcitizen/php-iban
 * [new tag]         v4.2.1     -> v4.2.1
Already up to date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants