PHPackages                             burnbright/omnipay-paystation - 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. burnbright/omnipay-paystation

ActiveLibrary[Payment Processing](/categories/payments)

burnbright/omnipay-paystation
=============================

Paystation driver for the Omnipay payment processing library

3.1.1(5y ago)021.2k3MITPHP

Since Jul 31Pushed 5y ago2 watchersCompare

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

READMEChangelog (3)Dependencies (4)Versions (12)Used By (0)

Omnipay: Paystation
===================

[](#omnipay-paystation)

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

API Docs:

[![Build Status](https://camo.githubusercontent.com/5bfdd2106032e3e295eb7142ded60037394ad917575b8e3822f353d74c55902b/68747470733a2f2f7472617669732d63692e6f72672f6275726e6272696768742f6f6d6e697061792d70617973746174696f6e2e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/burnbright/omnipay-paystation)[![Coverage Status](https://camo.githubusercontent.com/b83cd70972cbc4dfa517a35bb716855a927779f395e58e7cd1af06c465da4f8d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6275726e6272696768742f6f6d6e697061792d70617973746174696f6e2e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/burnbright/omnipay-paystation/code-structure)[![Code Quality](https://camo.githubusercontent.com/562ebbd3e578a5c0d03d2fad7e17bc8cf86c2f8ab0f31871e457e62892f49a51/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6275726e6272696768742f6f6d6e697061792d70617973746174696f6e2e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/burnbright/omnipay-paystation/?branch=master)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)[![Latest Stable Version](https://camo.githubusercontent.com/ac3d72ea562d4a211e6a7f7c6bf69ef2b66c2a4bc78d1ddfe5b83608cdd72c45/68747470733a2f2f706f7365722e707567782e6f72672f6275726e6272696768742f6f6d6e697061792d70617973746174696f6e2f76657273696f6e2e706e67)](https://packagist.org/packages/burnbright/omnipay-paystation)[![Total Downloads](https://camo.githubusercontent.com/d7e433e810aaaefd5d4bc5e00f930ca0db833c4a236b7c8cc64b6c8d829c1d69/68747470733a2f2f706f7365722e707567782e6f72672f6275726e6272696768742f6f6d6e697061792d70617973746174696f6e2f642f746f74616c2e706e67)](https://packagist.org/packages/burnbright/omnipay-paystation)

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

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

[](#installation)

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

```
{
    "require": {
        "burnbright/omnipay-paystation": "~3.0"
    }
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

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

[](#basic-usage)

The following gateways are provided by this package:

- Paystation\_Hosted

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

**NOTE**: Paystation's back-end system supports both [IP whitelisting](https://en.wikipedia.org/wiki/Whitelisting) and [HMAC key](https://en.wikipedia.org/wiki/HMAC) usage. Be aware of which features are enabled on the account you're using.

Testing card details, and error cent values, are detailed here:

If you want to use dynamic return urls, you must set a HMAC key. This can be obtained from paystation.

```
	$gateway->setHmacKey('1a2b3b3g3g3k3k23k23hj235h235');

```

Merchant Session Uniqueness
---------------------------

[](#merchant-session-uniqueness)

The required merchant session identifier is generated using php's [uniqid](http://php.net/manual/en/function.uniqid.php) function. This may not be enough uniqueness if your system architecture has multiple hosts. You can override this by setting the `merchantSession`omnipay parameter:

```
	$response = $gateway->purchase(array(
		'amount' => '123.00',
		'currency' => 'NZD',
		'card' => array(...),
		'merchantSession' => uniqueid($hostidentifier) //here
	))->send();
```

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity70

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

Recently: every ~48 days

Total

11

Last Release

1981d ago

Major Versions

1.0.2 → 2.0.02016-08-02

1.0.3 → 2.0.22020-06-04

2.x-dev → 3.0.02020-11-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1356335?v=4)[Jeremy Shipman](/maintainers/jedateach)[@jedateach](https://github.com/jedateach)

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

---

Top Contributors

[![jedateach](https://avatars.githubusercontent.com/u/1356335?v=4)](https://github.com/jedateach "jedateach (18 commits)")[![leith](https://avatars.githubusercontent.com/u/647389?v=4)](https://github.com/leith "leith (17 commits)")[![madleech](https://avatars.githubusercontent.com/u/1756799?v=4)](https://github.com/madleech "madleech (4 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypaystationtrade metrademe

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/burnbright-omnipay-paystation/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)[sudiptpa/omnipay-nabtransact

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

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

MercadoPago gateway for OmniPay

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

PHPackages © 2026

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