PHPackages                             bishwajitcadhikary/omnipay-myfatoorah - 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. bishwajitcadhikary/omnipay-myfatoorah

ActiveLibrary[Payment Processing](/categories/payments)

bishwajitcadhikary/omnipay-myfatoorah
=====================================

MyFatoorah driver for the Omnipay payment processing library

v3.2.3(2y ago)0112MITPHP

Since Feb 12Pushed 2y agoCompare

[ Source](https://github.com/bishwajitcadhikary/omnipay-myfatoorah)[ Packagist](https://packagist.org/packages/bishwajitcadhikary/omnipay-myfatoorah)[ GitHub Sponsors](https://github.com/barryvdh)[ RSS](/packages/bishwajitcadhikary-omnipay-myfatoorah/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (45)Used By (0)

Omnipay: MyFatoorah
===================

[](#omnipay-myfatoorah)

**MyFatoorah gateway integration for the Omnipay PHP payment processing library**

Introduction
------------

[](#introduction)

[![Build Status](https://camo.githubusercontent.com/85fed356665c4882759958578534d048c57f9c74c6f8a12102add370f2c0dff2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d792d6661746f6f7261682f6f6d6e697061792d6d796661746f6f7261682f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/my-fatoorah/omnipay-myfatoorah/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/82e8651f254a5508933a7b57b6731f77402bd396291d999c53bacbf3e47695c7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d792d6661746f6f7261682f6f6d6e697061792d6d796661746f6f7261682f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/my-fatoorah/omnipay-myfatoorah/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/25d93c5fd89ebcc75a98e1858054ae738d33c6a62af657d251255997a4a9427f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d792d6661746f6f7261682f6f6d6e697061792d6d796661746f6f7261682f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Total Downloads](https://camo.githubusercontent.com/5e4a7a19b95b68ecad632b50fb29f34abf60a28a6629a3c42ea54bbed6089a69/687474703a2f2f706f7365722e707567782e6f72672f6d796661746f6f7261682f6f6d6e697061792f646f776e6c6f616473)](https://packagist.org/packages/myfatoorah/omnipay)

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

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

[](#installation)

To install you can [composer](http://getcomposer.org/) require the package;

```
$ composer require myfatoorah/omnipay

```

You can also include the package directly in the `composer.json` file

```
{
    "require": {
        "myfatoorah/omnipay": "dev-master"
    }
}

```

Usage
-----

[](#usage)

### Creating a payment link

[](#creating-a-payment-link)

```
use Omnipay\Omnipay;

$data                      = array();
$data['Amount']            = '50';
$data['OrderRef']          = 'orderId-123';
$data['Currency']          = 'KWD';
$data['returnUrl']         = 'http://websiteurl.com/callback.php';
$data['Card']['firstName'] = 'fname';
$data['Card']['lastName']  = 'lname';
$data['Card']['email']     = 'test@test.com';
//
// Do a purchase transaction on the gateway
$transaction               = $gateway->purchase($data)->send();
if ($transaction->isSuccessful()) {
    $invoiceId   = $transaction->getTransactionReference();
    echo "Invoice Id = " . $invoiceId . "";
    $redirectUrl = $transaction->getRedirectUrl();
    echo "Redirect Url = " . $redirectUrl . "";
} else {
    echo $transaction->getMessage();
}
```

### Checking payment status

[](#checking-payment-status)

In the callback, Get Payment status for a specific Payment ID

```
$callBackData = ['paymentId' => '100202113817903101'];
// or
$callBackData = ['invoiceid' => '75896'];
$callback     = $gateway->completePurchase($callBackData)->send();
if ($callback->isSuccessful()) {
    echo "";
    print_r($callback->getPaymentStatus('orderId-123', '100202113817903101'));
} else {
    echo $callback->getMessage();
}
```

### Make a refund

[](#make-a-refund)

Refund a specific Payment ID

```
$refundData = ['paymentId' => '100202113817903101', 'Amount'=>1];
$refund     = $gateway->refund($refundData)->send();
if ($refund->isSuccessful()) {
    echo "";
    print_r($refund->getRefundInfo());
} else {
    echo $refund->getMessage();
}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~111 days

Recently: every ~284 days

Total

36

Last Release

922d ago

Major Versions

v0.9.3 → v1.0.02013-06-24

1.1.x-dev → v2.0.02013-11-17

2.3.x-dev → v3.0-alpha.12017-04-22

PHP version history (7 changes)v0.8.0PHP &gt;=5.3.3

v0.8.4PHP &gt;=5.3.2

v3.0-alpha.1PHP ^5.6|^7

v3.0.0PHP ^7.1

v3.1.0PHP ^7.2

v3.2.0PHP ^7.3|^8.0

v3.2.1PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/05f9a72ab9f1685e2d1e829714d6c3470ea38acc3bdf3b6608ac5edb4997b835?d=identicon)[bishwajitcadhikary](/maintainers/bishwajitcadhikary)

---

Top Contributors

[![amacneil](https://avatars.githubusercontent.com/u/637671?v=4)](https://github.com/amacneil "amacneil (221 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (64 commits)")[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (59 commits)")[![greydnls](https://avatars.githubusercontent.com/u/1276798?v=4)](https://github.com/greydnls "greydnls (44 commits)")[![judgej](https://avatars.githubusercontent.com/u/395934?v=4)](https://github.com/judgej "judgej (23 commits)")[![aderuwe](https://avatars.githubusercontent.com/u/1125184?v=4)](https://github.com/aderuwe "aderuwe (17 commits)")[![pilot](https://avatars.githubusercontent.com/u/28564?v=4)](https://github.com/pilot "pilot (11 commits)")[![eileenmcnaughton](https://avatars.githubusercontent.com/u/336308?v=4)](https://github.com/eileenmcnaughton "eileenmcnaughton (7 commits)")[![dercoder](https://avatars.githubusercontent.com/u/1737685?v=4)](https://github.com/dercoder "dercoder (6 commits)")[![lokielse](https://avatars.githubusercontent.com/u/1573211?v=4)](https://github.com/lokielse "lokielse (5 commits)")[![TomasKit](https://avatars.githubusercontent.com/u/13846988?v=4)](https://github.com/TomasKit "TomasKit (5 commits)")[![sudiptpa](https://avatars.githubusercontent.com/u/7222620?v=4)](https://github.com/sudiptpa "sudiptpa (5 commits)")[![SilverFire](https://avatars.githubusercontent.com/u/4499203?v=4)](https://github.com/SilverFire "SilverFire (5 commits)")[![yasinkuyu](https://avatars.githubusercontent.com/u/204635?v=4)](https://github.com/yasinkuyu "yasinkuyu (4 commits)")[![nickyr](https://avatars.githubusercontent.com/u/1389687?v=4)](https://github.com/nickyr "nickyr (4 commits)")[![colinodell](https://avatars.githubusercontent.com/u/202034?v=4)](https://github.com/colinodell "colinodell (3 commits)")[![pinguinjkeke](https://avatars.githubusercontent.com/u/10704892?v=4)](https://github.com/pinguinjkeke "pinguinjkeke (3 commits)")[![busgurlu](https://avatars.githubusercontent.com/u/1284742?v=4)](https://github.com/busgurlu "busgurlu (3 commits)")[![aperdomo](https://avatars.githubusercontent.com/u/3967712?v=4)](https://github.com/aperdomo "aperdomo (3 commits)")[![rlerdorf](https://avatars.githubusercontent.com/u/54641?v=4)](https://github.com/rlerdorf "rlerdorf (2 commits)")

### Embed Badge

![Health badge](/badges/bishwajitcadhikary-omnipay-myfatoorah/health.svg)

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

###  Alternatives

[league/omnipay

Omnipay payment processing library

6.1k9.7M166](/packages/league-omnipay)[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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