PHPackages                             armezit/omnipay-jibit - 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. [Payment Processing](/categories/payments)
4. /
5. armezit/omnipay-jibit

ActiveLibrary[Payment Processing](/categories/payments)

armezit/omnipay-jibit
=====================

Jibit driver for the Omnipay payment processing library

v1.2.0(3y ago)2201MITPHPPHP ^7.2|^8.0

Since Mar 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/armezit/omnipay-jibit)[ Packagist](https://packagist.org/packages/armezit/omnipay-jibit)[ Docs](https://github.com/armezit/omnipay-jibit)[ RSS](/packages/armezit-omnipay-jibit/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (5)Versions (7)Used By (0)

Omnipay: Jibit
==============

[](#omnipay-jibit)

**Jibit driver for the Omnipay PHP payment processing library**

[![Packagist Version](https://camo.githubusercontent.com/3178263ee1455e9124dae00e1a16f40a26a7788e990821cb6e3e0793d587fa3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726d657a69742f6f6d6e697061792d6a696269742e737667)](https://camo.githubusercontent.com/3178263ee1455e9124dae00e1a16f40a26a7788e990821cb6e3e0793d587fa3e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726d657a69742f6f6d6e697061792d6a696269742e737667)[![PHP from Packagist](https://camo.githubusercontent.com/315efb14d9b44d957ea8207d19558ed6df4f5ea652b687b2374ac0616ea5d3bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f61726d657a69742f6f6d6e697061792d6a696269742e737667)](https://camo.githubusercontent.com/315efb14d9b44d957ea8207d19558ed6df4f5ea652b687b2374ac0616ea5d3bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f61726d657a69742f6f6d6e697061792d6a696269742e737667)[![Packagist](https://camo.githubusercontent.com/9a0131694ecb6c263d16ea14808160e8d29133ba04b12fc29afdd7311f567a9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61726d657a69742f6f6d6e697061792d6a696269742e737667)](https://camo.githubusercontent.com/9a0131694ecb6c263d16ea14808160e8d29133ba04b12fc29afdd7311f567a9a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61726d657a69742f6f6d6e697061792d6a696269742e737667)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP. This package implements Jibit support for Omnipay.

Installation
------------

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply require `league/omnipay` and `armezit/omnipay-jibit` with Composer:

```
composer require league/omnipay armezit/omnipay-jibit

```

Basic Usage
-----------

[](#basic-usage)

The following gateways are provided by this package:

- Jibit

For general usage instructions, please see the main [Omnipay](https://github.com/omnipay/omnipay)repository.

Example
-------

[](#example)

### Purchase

[](#purchase)

The result will be a redirect to the gateway or bank.

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('Jibit');
$gateway->setApiKey('API_KEY');
$gateway->setSecretKey('SECRET_KEY');
$gateway->setReturnUrl('https://www.example.com/return');

// Send purchase request
$response = $gateway->purchase([
    'amount' => $amount,
    'currency' => $currency,
    'transactionId' => $transactionId, // referenceNumber in Jibit api doc
    'userId' => $userId, // userIdentifier in Jibit api doc
])->send();

// Process response
if ($response->isSuccessful() && $response->isRedirect()) {
    // store the order identifier to use in completePurchase()
    $orderIdentifier = $response->getTransactionReference();
    // Redirect to offsite payment gateway
    $response->redirect();
} else {
    // Payment failed: display message to customer
    echo $response->getMessage();
}
```

### Complete Purchase (Verify)

[](#complete-purchase-verify)

On return, the usual completePurchase will provide the result of the transaction attempt.

The final result includes the following methods to inspect additional details:

```
// Send purchase complete request
$response = $gateway->completePurchase([
    'transactionReference' => $orderIdentifier,
])->send();

// Process response
if ($response->isPending()) {
    // In case of pending, you must inquiry the order later
    return;
}

if (!$response->isSuccessful() || $response->isCancelled()) {
    // Payment failed: display message to customer
    echo $response->getMessage();
} else {
    // Payment was successful
    print_r($response);
}
```

### Inquiry Order

[](#inquiry-order)

Inquiry an order by the orderIdentifier:

```
$response = $gateway->fetchTransaction([
    'transactionReference' => $orderIdentifier,
])->send();

if ($response->isPending()) {
    // In case of pending, you must inquiry the order later
    return;
}

if ($response->isCancelled()) {
    // Payment failed: display message to customer
    echo $response->getMessage();
} else if ($response->isSuccessful()) {
    // Payment was successful
    print_r($response);
}
```

### Testing

[](#testing)

```
composer test
```

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/armezit/omnipay-jibit/issues), or better yet, fork the library and submit a pull request.

###  Health Score

29

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~116 days

Recently: every ~137 days

Total

6

Last Release

1249d ago

PHP version history (2 changes)v1.0.2PHP ^7.2

v1.0.4PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a703c4312d493c2434e8f560bec9706635f7f60c72c0378c9d27eb8dbb5f3e7b?d=identicon)[armezit](/maintainers/armezit)

---

Top Contributors

[![armezit](https://avatars.githubusercontent.com/u/2006991?v=4)](https://github.com/armezit "armezit (14 commits)")

---

Tags

paymentgatewaypaymerchantomnipayjibit

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/armezit-omnipay-jibit/health.svg)

```
[![Health](https://phpackages.com/badges/armezit-omnipay-jibit/health.svg)](https://phpackages.com/packages/armezit-omnipay-jibit)
```

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

558420.4k10](/packages/lokielse-omnipay-alipay)[sudiptpa/omnipay-nabtransact

National Australia Bank (NAB) Transact driver for the Omnipay payment processing library.

1016.7k](/packages/sudiptpa-omnipay-nabtransact)[lucassmacedo/omnipay-mercadopago

MercadoPago gateway for OmniPay

154.5k](/packages/lucassmacedo-omnipay-mercadopago)

PHPackages © 2026

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