You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2018. It is now read-only.
The Zend_Validate_Iban has an invalid regex pattern for Macedonia country which looks like this:
'MK' => '/^MK[0-9]{2}[A-Z]{3}[A-Z0-9]{10}[0-9]{2}$/'
However according to http://www.swift.com/dsp/resources/documents/IBAN_Registry.pdf the bank identifier part must contain only numeric characters (3 digits exactly), rather than letters. So instead that regex pattern should look like:
'MK' => '/^MK[0-9]{2}[0-9]{3}[A-Z0-9]{10}[0-9]{2}$/'
That way sample IBAN MK07250120000058984 for Macedonia will pass validation. You can test this sample IBAN on https://www.iban.com for instance.
The text was updated successfully, but these errors were encountered: