1. Important notice about Cloudbleed - if your site uses the Cloudflare CDN, and you intend to follow the Joomla security team's advice to change your site "secret", you MUST READ THIS NOTICE.
  2. Fabrik 3.6 Released Remember to backup and test your backup before proceeding with this update. Please report any problems you might experience with this new version here on the forum. You are safe to upgrade to Joomla! 3.7 and PHP 7.x with this version of Fabrik. View the blog for more details on this release.

IBAN Validation plugin for Fabrik

Discussion in 'Standard Support' started by ontarget, Jan 11, 2017.

  1. ontarget

    ontarget Member

    Level: Standard
    Hi Hugh / Fabrik team
    I have a client who requires that IBAN numbers entered are validated against "real" IBAN numbers.
    I can't see any IBAN validation plugin for v3.5.1 of Fabrik - but saw a version for Fabrik 2 http://fabrikar.com/download-archive/details/49/256-is-valid-iban
    Is there any plans to get it working? If not planned could you please PM me a costing for your time to get the plugin activated / made available.
    Thanks
     
  2. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Supporter
    I remember writing that one many years ago, but the 3rd party library that it used got abandoned. Looking around, there seems to be a reasonably up to date one being actively maintained here:

    https://github.com/jschaedl/Iban

    I'll get Robbie to quote you.

    -- hugh
     
  3. ontarget

    ontarget Member

    Level: Standard
  4. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Supporter
    Yeah, I looked at that one, but it's not as structurally sound as the other one.

    Sent from my HTC 10 using Tapatalk
     
  5. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Supporter
    OK, I went with that one you pointed at, as although it's not as "neat" as the other one, according to various sources, it's a lot better at actually validating IBANs.

    Robbie forwarded me an email saying that it isn't working for you.

    I just re-tested with the example IE IBAN from here:

    http://www.xe.com/ibancalculator/sample/?ibancountry=ireland

    ... using IE29 AIBK 9311 5212 3456 78, which is what I used for testing during development, and it works. But the IBAN you are defaulting the element to on your site (IE64BOFI90583812345678) fails. Although it is the right "shape" the checksum validation of the account part fails. If I try that same number in the online validator ...

    https://www.ibancalculator.com/iban_validieren.html

    ... it fails in the same way, with "Account number 12345678: The checksum in the account number is incorrect." Which isn't surprising, as it's obviously bogus.

    Can you give me some specific cases of valid numbers (that pass the ibancalculator.com test) which fail in this plugin?

    PM me if you don't want to post them in public.

    -- hugh
     
  6. cheesegrits

    cheesegrits Support Gopher Staff Member

    Level: Supporter
    Just to wrap this one up, your site wasn't working because a critical file from the php-iban library was missing from github. I added it to github, and your site, and it seems to be working OK now.


    Sent from my HTC 10 using Tapatalk
     

Share This Page