Giter VIP home page Giter VIP logo

gf-loqate-bank-verification's Introduction

GF Loqate Bank Verification

CircleCI Packagist Version WordPress Plugin Rating PHP from Packagist WordPress Plugin: Tested WP Version Packagist Downloads WordPress Plugin Downloads GitHub License Hire Itineris Twitter Follow @itineris_ltd Twitter Follow @TangRufus

Verify Gravity Forms bank details with Loqate bank verification API.

Goal

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

Usage

Get your service key from Loqate

  1. Register an Loqate account
  2. Add Bank Verification
  3. Get the Service key

Loqate Bank Verification Server Key

Plugin Setting

  1. Head to Form » Settings » Bank Verification
  2. Enter your Loqate bank verification service key

A green check ✅ appears if the service key is valid.

Plugin Setting

Form Fields Setting

  1. Add 2 Single Line Text fields
  • Sort Code
  • Account Number
  1. Mark both fields required
  2. Set their Custom CSS Class to:
  • gflbv-sort-code-is-correct
  • gflbv-account-number-is-correct

Form Fields Setting - Sort Code Form Fields Setting - Account Number

Minimum Requirements

Installation

Composer (Recommended)

composer require itinerisltd/gf-loqate-bank-verification

wordpress.org (WP CLI)

wp plugin install gf-loqate-bank-verification

wordpress.org

Download from https://wordpress.org/plugins/gf-loqate-bank-verification Then, install gf-loqate-bank-verification.zip as usual.

Build from Source (Not Recommended)

# 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.

FAQ

Does it support checking for Direct Debit capability?

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

Does it cache Loqate API responses?

Yes. Loqate API responses are cached in WordPress transients for an hour.

To clear caches:

wp transient delete --all

Will you add support for older PHP versions?

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.

It looks awesome. Where can I find more goodies like this?

Where can I give ⭐⭐⭐⭐⭐ reviews?

Thanks! Glad you like it. It's important to let my boss knows somebody is using this project. Please consider:

Testing

composer style:check

Pull requests without tests will not be accepted!

Feedback

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.

Change Log

Please see CHANGELOG for more information on what has changed recently.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

GF Loqate Bank Verification is a Itineris Limited project created by Tang Rufus.

Full list of contributors can be found here.

License

GF Loqate Bank Verification is released under the MIT License.

gf-loqate-bank-verification's People

Contributors

codepuncher avatar tangrufus avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gf-loqate-bank-verification's Issues

Correct Error Code Causing Critical error

Hi Tang

We did have the Php which was fixed but below is error code relating to the oplugin
An error of type E_ERROR was caused in line 16 of the file /home2/crag/public_html/wp-content/plugins/gf_pcapredict/gf_pcapredict.php. Error message: Uncaught Error: Call to undefined function is_plugin_active() in /home2/crag/public_html/wp-content/plugins/gf_pcapredict/gf_pcapredict.php:16
Stack trace:
#0 /home2/crag/public_html/wp-settings.php(362): include_once()
#1 /home2/crag/public_html/wp-config.php(97): require_once('/home2/crag/pub...')
#2 /home2/crag/public_html/wp-load.php(37): require_once('/home2/crag/pub...')
#3 /home2/crag/public_html/wp-admin/admin.php(34): require_once('/home2/crag/pub...')
#4 {main}
thrown

Critical Error

We I activate it on Wordpress 5.2.9, Php 7.2 I am getting a critical error is there an update to this plugin or can you advise?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.