Verify Gravity Forms bank details with Loqate bank verification API.
- Goal
- Usage
- Minimum Requirements
- Installation
- FAQ
- Testing
- Feedback
- Change Log
- Security
- Credits
- License
GF Loqate Bank Verification verifies Gravity Forms bank details with Loqate bank verification API.
It validates the bank details (branch sort codes and bank account numbers):
- indicates whether the account number and sort code are valid
- indicates whether the account can accept direct debits. Certain accounts (e.g. savings) will not accept direct debits
- Register an Loqate account
- Add Bank Verification
- Get the Service key
- Head to Form » Settings » Bank Verification
- Enter your Loqate bank verification service key
A green check ✅ appears if the service key is valid.
- Add 2 Single Line Text fields
- Sort Code
- Account Number
- Mark both fields required
- Set their Custom CSS Class to:
gflbv-sort-code-is-correct
gflbv-account-number-is-correct
- PHP v7.2
- WordPress v4.9.10
- [Gravity Forms](https://www.Gravity Forms.com/) v2.4.14.4
composer require itinerisltd/gf-loqate-bank-verification
wp plugin install gf-loqate-bank-verification
Download from https://wordpress.org/plugins/gf-loqate-bank-verification
Then, install gf-loqate-bank-verification.zip
as usual.
# Make sure you use the same PHP version as remote servers.
# Building inside docker images is recommanded.
php -v
# Checkout source code
git clone https://github.com/ItinerisLtd/gf-loqate-bank-verification.git
cd gf-loqate-bank-verification
git checkout <the-tag-or-the-branch-or-the-commit>
# Build the zip file
composer release:build
Then, install release/gf-loqate-bank-verification.zip
as usual.
Yes. Certain accounts (e.g. savings) will not accept direct debits. To verify bank details are both correct and Direct Debit capable, set the fields' Custom CSS Class to:
gflbv-sort-code-is-correct gflbv-sort-code-direct-debit-capable
gflbv-account-number-is-correct gflbv-account-number-direct-debit-capable
Yes. Loqate API responses are cached in WordPress transients for an hour.
To clear caches:
wp transient delete --all
Never! This plugin will only work on actively supported PHP versions.
Don't use it on end of life or security fixes only PHP versions.
- Articles on Itineris' blog
- More projects on Itineris' GitHub profile
- More plugins on Itineris and TangRufus wp.org profiles
- Follow @itineris_ltd and @TangRufus on Twitter
- Hire Itineris to build your next awesome site
Thanks! Glad you like it. It's important to let my boss knows somebody is using this project. Please consider:
- leave a 5-star review on wordpress.org
- tweet something good with mentioning @itineris_ltd and @TangRufus
- ⭐ star this Github repo
- 👀 watch this Github repo
- write blog posts
- submit pull requests
- hire Itineris
composer style:check
Pull requests without tests will not be accepted!
Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.
Please see CHANGELOG for more information on what has changed recently.
If you discover any security related issues, please email dev@itineris.co.uk instead of using the issue tracker.
GF Loqate Bank Verification is a Itineris Limited project created by Tang Rufus.
Full list of contributors can be found here.
GF Loqate Bank Verification is released under the MIT License.