PHPackages                             ignited/omnipay-zippay - 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. ignited/omnipay-zippay

ActiveLibrary

ignited/omnipay-zippay
======================

Provides ZipPay support for Omnipay payment processing library

1.3(4y ago)129.7k↓100%3[1 PRs](https://github.com/ignited/omnipay-zippay/pulls)1MITPHP

Since Feb 1Pushed 4y ago2 watchersCompare

[ Source](https://github.com/ignited/omnipay-zippay)[ Packagist](https://packagist.org/packages/ignited/omnipay-zippay)[ Docs](https://github.com/ignited/omnipay-zippay)[ RSS](/packages/ignited-omnipay-zippay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (4)Versions (9)Used By (1)

Omnipay: ZipPay
===============

[](#omnipay-zippay)

**ZipPay gateway for the Omnipay PHP payment processing library**

[![Latest Version on Packagist](https://camo.githubusercontent.com/9811c8bf3c75751610b12c1be49c8ca5801ed489ca4ad25b8de849947e644f1a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69676e697465642f6f6d6e697061792d7a69707061792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ignited/omnipay-zippay)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/398a46942813d08f782491884c974a4b5132458492cc19f480a9cb11b317a16d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f69676e697465642f6f6d6e697061792d7a69707061792f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ignited/omnipay-zippay)[![Coverage Status](https://camo.githubusercontent.com/4e158872432afd642bf04b56b20c3974a8c18fb73a9d1a6f98a1a60f4575753f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f69676e697465642f6f6d6e697061792d7a69707061792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ignited/omnipay-zippay/code-structure)[![Quality Score](https://camo.githubusercontent.com/20207fdfc4c737fd841bf9efb62286552f78c60f9f18e51ad5dc267d6c97dbab/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f69676e697465642f6f6d6e697061792d7a69707061792e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/ignited/omnipay-zippay)[![Total Downloads](https://camo.githubusercontent.com/a9231bf73024e4bd12bca412ec15f33499336805afbe7a54568d0ba4336cd5e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69676e697465642f6f6d6e697061792d7a69707061792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ignited/omnipay-zippay)

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

Install
-------

[](#install)

Install the gateway using require. Require the `league/omnipay` base package and this gateway.

```
$ composer require league/omnipay ignited/omnipay-zippay
```

Usage
-----

[](#usage)

The following gateways are provided by this package:

- ZipPay

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

A quick example looks something like this:

Process your Authorization

```
$omniZip = Omnipay::create('ZipPay_Rest');
$omniZip->setApiKey($zipApiKey);
$authTx = $omniZip->authorize([
  'reference'=> $ref,
  'amount' => 10.00,
  'currency' => 'AUD',
  'returnUrl' => 'https://mysite.com/zip/return',
  'card' => $this->OmniPayCardFactory(), //Customers Details, no credit card number
  'items' => $this->zipItemList(), // Array of items implementing Omnipay\ZipPay\ItemInterface
]);
$result = $authTx->send();
if($response->isRedirect()) { // Authorize worked
  $resData = $result->getData();
  $this->saveAuthorizeId($resData['id']);
  $response->redirect(); //Sends customer off to ZipPay to complete signup
}
```

Return url (eg /zip/return)

```
if (!isset($_REQUEST['result']) || $_REQUEST['result'] !== 'approved')
  throw new \RuntimeError('Problem with your authorization');
$omniZip = Omnipay::create('ZipPay_Rest');
$omniZip->setApiKey($zipApiKey);
$compTx = $omniZip->completeAuthorize([
  'authorityType' => 'checkout_id',
  'authorityValue' => $this->getAuthorizeId(),
  'amount' => 10.00,
  'currency' => 'AUD',
  'captureFunds' => true;
]);
$result = $compTx->send();
if($result->isSuccessful())
  $this->paid();
else
  $this->paymentFailed();
```

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

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Daniel Condie](https://github.com/dcon138)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 56% 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 ~139 days

Total

7

Last Release

1817d ago

### Community

Maintainers

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

---

Top Contributors

[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (14 commits)")[![alexw23](https://avatars.githubusercontent.com/u/1505496?v=4)](https://github.com/alexw23 "alexw23 (5 commits)")[![cseufert](https://avatars.githubusercontent.com/u/1734519?v=4)](https://github.com/cseufert "cseufert (4 commits)")[![greydnls](https://avatars.githubusercontent.com/u/1276798?v=4)](https://github.com/greydnls "greydnls (1 commits)")[![vyuldashev](https://avatars.githubusercontent.com/u/1809081?v=4)](https://github.com/vyuldashev "vyuldashev (1 commits)")

---

Tags

zipomnipayzipPay

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/ignited-omnipay-zippay/health.svg)

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

###  Alternatives

[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

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

PHPackages © 2026

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