PHPackages                             taghwo/glade-bank-transfer-task - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. taghwo/glade-bank-transfer-task

ActiveLibrary

taghwo/glade-bank-transfer-task
===============================

This exposes API to make bank transfer with Glade Pay Gateway

00PHP

Since Feb 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/taghwo/Glade-Pay-Bank-Transfer-Task)[ Packagist](https://packagist.org/packages/taghwo/glade-bank-transfer-task)[ RSS](/packages/taghwo-glade-bank-transfer-task/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Backend Task for Glade Pay Bank Transfer API
============================================

[](#backend-task-for-glade-pay-bank-transfer-api)

This package does two things
============================

[](#this-package-does-two-things)

```
1. Initialize bank tranfer flow, returns account details to make payment to.
2. Verifies bank transfer status, returns status of payment.
```

```
Status code returned include
1: 401 for unauthenticated response
2: 400 for wrong method or wrong data format supplied
3: 500 for for invalid integration
```

```
Successful request will return an stdClass Object
```

Installation
============

[](#installation)

```
composer require taghwo/glade-bank-transfer-task
```

```
Create a .env file in the root on your project and set fill in details
Glade_Test_Merchant_ID=GP****
Glade_Test_Merchant_Key=123****
Glade_Test_Base_Endpoint: https://demo.api.gladepay.com/
```

\#include autoload in your project (PHP file)

```
 require_once "vendor/autoload.php";

 Run composer dump-autoload
```

Usage
=====

[](#usage)

Initialize Bank Transfer Payment
================================

[](#initialize-bank-transfer-payment)

```
Call the InitPayment class
use Taghwo\Glade\BankTransfer\Core\InitPayment;

Make an instance of the class
$bankTransfer = new InitPayment();

Request example
$response = $bankTransfer
            ->amountPayable('1500')
            ->customUserData(['email' => "jacky@example.com","firstname"=>"John", "lastname"=>"Doe"])
            ->execute();
print_r($response);
```

Available methods For Initializing Payment
==========================================

[](#available-methods-for-initializing-payment)

There are few methods that can be chained together.
---------------------------------------------------

[](#there-are-few-methods-that-can-be-chained-together)

```
amountPayable() this sets the amount to charge for the transaction
Required:true
Throws InvalidData Exception if amount is not supplied

```

```
customUserData() takes an array of user data, this add more detail to the transaction. You can add first_name, last_name, email, IP address and fingerprint
Required:false

```

```
country() country to use for this transaction. If not supplied it, will be set to "NG"
Required:false

```

```
currency() currency to use for this transaction. If not supplied it, will be set to "NGN"
Required:false

```

```
execute() this executes the initialization process
Required:true

```

```
Response Example
( [status] => 202 [txnRef] => GP83015561620210221D [auth_type] => device [accountNumber] => 9922554842 [accountName] => GladePay Demo [bankName] => Providus Bank [accountExpires] => 600 [message] => Make a transfer into the following account using your bank app or internet banking platfrom to complete the transaction )

```

Verify Bank Transfer Payment
============================

[](#verify-bank-transfer-payment)

```
Call the VerifyPayment class
use Taghwo\Glade\BankTransfer\Core\VerifyPayment;

Request example, it takes the transaction reference as argument

$verifyPayment = new VerifyPayment('txnRef');

$response = $verifyPayment
              ->execute();

print_r($response);
```

Available methods For Verifying Payment Status
==============================================

[](#available-methods-for-verifying-payment-status)

```
execute() this executes the verification process
Required:true

```

```
Response Example
( [status] => 200 [txnStatus] => pending [txnRef] => GP83015561620210221D [message] => PENDING [chargedAmount] => 0 [currency] => NG [payment_method] => bank_transfer [fullname] => John Doe [email] => jacky@example.com [bank_message] => Awaiting Validation )

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/37c4c6797bd0ef2e057dca0c005ce8c38ba4d796ff92e3be010bc4dc825127a9?d=identicon)[Taghwo Millionaire O](/maintainers/Taghwo%20Millionaire%20O)

---

Top Contributors

[![taghwo](https://avatars.githubusercontent.com/u/40868373?v=4)](https://github.com/taghwo "taghwo (8 commits)")

### Embed Badge

![Health badge](/badges/taghwo-glade-bank-transfer-task/health.svg)

```
[![Health](https://phpackages.com/badges/taghwo-glade-bank-transfer-task/health.svg)](https://phpackages.com/packages/taghwo-glade-bank-transfer-task)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
