PHPackages                             armyan/omnipay-netcash - 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. armyan/omnipay-netcash

ActiveLibrary[Payment Processing](/categories/payments)

armyan/omnipay-netcash
======================

NetCash driver for the Omnipay Laravel Payment processing library

1.0.0(6y ago)05562MITPHP

Since Dec 4Pushed 6y ago1 watchersCompare

[ Source](https://github.com/arm-yan/netcash)[ Packagist](https://packagist.org/packages/armyan/omnipay-netcash)[ Docs](https://github.com/armyan/omnipay-netcash)[ RSS](/packages/armyan-omnipay-netcash/feed)WikiDiscussions develop Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

Omnipay: NetCash
================

[](#omnipay-netcash)

**NetCash driver for the Omnipay Laravel payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/97e64e742d449cfc0979ea8fcda098a119d607408c56532fc721da89c406e002/68747470733a2f2f706f7365722e707567782e6f72672f61726d79616e2f6f6d6e697061792d6e6574636173682f762f737461626c65)](https://packagist.org/packages/armyan/omnipay-netcash)[![Total Downloads](https://camo.githubusercontent.com/b521ee1aa1df6447233a14f205e45e9da67b8f8b9afce331247c2893e30332aa/68747470733a2f2f706f7365722e707567782e6f72672f61726d79616e2f6f6d6e697061792d6e6574636173682f642f746f74616c2e706e67)](https://packagist.org/packages/armyan/omnipay-netcash)

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

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "armyan/omnipay-netcash": "^1.0.0"
    }
}
```

And run composer to update your dependencies:

```
composer update

```

Or you can simply run

```
composer require armyan/omnipay-netcash

```

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

[](#basic-usage)

1. Use Omnipay gateway class:

```
    use Omnipay\Omnipay;
```

2. Initialize NetCash gateway:

```
    $gateway = Omnipay::create('NetCash');
    $gateway->setVendorKey(env('VENDOR_KEY'));
    $gateway->setAccountId(env('ACCOUNT_ID'));
    $gateway->setServiceKey(env('SERVICE_KEY')); // Language
    $gateway->setAmount(10); // Amount to charge
    $gateway->setTransactionId(XXXX); // Transaction ID from your system
```

3. Call purchase, it will automatically redirect to NetCash's hosted page

```
    $purchase = $gateway->purchase()->send();
    $purchase->redirect();
```

4. Create a webhook controller to handle the callback request at your `RESULT_URL` and catch the webhook as follows

```
    $gateway = Omnipay::create('NetCash');
    $gateway->setAccountId(env('ACCOUNT_ID'));
    $gateway->setServiceKey(env('SERVICE_KEY'));

    $purchase = $gateway->completePurchase()->send();

    // Do the rest with $purchase and response with 'OK'
    if ($purchase->isSuccessful()) {

        // Your logic

    }

    return new Response('OK');
```

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

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/arm-yan/omnipay-netcash/issues), or better yet, fork the library and submit a pull request.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2352d ago

### Community

Maintainers

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

---

Top Contributors

[![arm-yan](https://avatars.githubusercontent.com/u/18047143?v=4)](https://github.com/arm-yan "arm-yan (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypurchasenetcash

### Embed Badge

![Health badge](/badges/armyan-omnipay-netcash/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)

PHPackages © 2026

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