PHPackages                             darksaboteur/omnipay-nabtransact - 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. darksaboteur/omnipay-nabtransact

ActiveLibrary[Payment Processing](/categories/payments)

darksaboteur/omnipay-nabtransact
================================

NAB Transact XML API gateway for the Omnipay payment processing library

v3.0.2(5y ago)013.4k1MITPHPPHP &gt;=5.4

Since Aug 14Pushed 5y agoCompare

[ Source](https://github.com/darksaboteur/omnipay-nabtransact)[ Packagist](https://packagist.org/packages/darksaboteur/omnipay-nabtransact)[ RSS](/packages/darksaboteur-omnipay-nabtransact/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (3)Versions (10)Used By (0)

Omnipay: NAB Transact
=====================

[](#omnipay-nab-transact)

[![Latest Stable Version](https://camo.githubusercontent.com/18938144745f793497df60d8e8aab0cda702a8b9fb56d5eafc541e9042577da7/68747470733a2f2f706f7365722e707567782e6f72672f706f696e747962656172642f6f6d6e697061792d6e61627472616e736163742f762f737461626c65)](https://packagist.org/packages/pointybeard/omnipay-nabtransact) [![Total Downloads](https://camo.githubusercontent.com/feddf12b88643e55b94e9cc7659a4ef15ae9de96c2335985f59ee3952fdf76a4/68747470733a2f2f706f7365722e707567782e6f72672f706f696e747962656172642f6f6d6e697061792d6e61627472616e736163742f646f776e6c6f616473)](https://packagist.org/packages/pointybeard/omnipay-nabtransact) [![Latest Unstable Version](https://camo.githubusercontent.com/f53cb745bcba27bffa97abd561c16d36505d12a3a06877e1269910bdc51e4f48/68747470733a2f2f706f7365722e707567782e6f72672f706f696e747962656172642f6f6d6e697061792d6e61627472616e736163742f762f756e737461626c65)](https://packagist.org/packages/pointybeard/omnipay-nabtransact) [![License](https://camo.githubusercontent.com/b8b6f0827d23a48a57353da1080584e57e9962aeb3d2f9f741ff9c5b11a65ce2/68747470733a2f2f706f7365722e707567782e6f72672f706f696e747962656172642f6f6d6e697061792d6e61627472616e736163742f6c6963656e7365)](https://packagist.org/packages/pointybeard/omnipay-nabtransact)

**NAB Transact API driver for the Omnipay PHP payment processing library**

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

**IMPORTANT: This is a very early alpha release, so it's pretty rough, and is likely to be buggy. Please do not use this in production environments. If anyone wants to help me out, that would be awesome.**

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

[](#installation)

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

```
{
    "require": {
        "pointybeard/omnipay-nabtransact": "~0.1"
    }
}
```

And run composer to update your dependencies:

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

```

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

[](#basic-usage)

```
    include(__DIR__ . '/../vendor/autoload.php');
    use Omnipay\Omnipay;
    use Omnipay\Common as OmnipayCommon;

    $g = Omnipay::create('NABTransact_Periodic');
    $g->initialize([
        'merchantID' => 'XYZ0010',
        'password' => 'abcd1234',
        'testMode' => true,
    ]);

    // Add a customer
    $request = $g->createCard(['card' => [
            'number' => '4111111111111111',
            'expiryMonth' => '02',
            'expiryYear' => '18',
            'cvv' => '123',
        ]
    ]);
    $response = $request->send();

    // Update a customer
    $request = $g->updateCard([
        'customerReference' => $response->getCustomerReference(),
        'card' => [
            'number' => '4444333322221111',
            'expiryMonth' => '03',
            'expiryYear' => '16'
        ]
    ]);
    $response = $request->send();

    // Trigger a payment
    $request = $g->purchase([
        'customerReference' => $response->getCustomerReference(),
        'transactionReference' => 'Test Trigger of CC Payment',
        'amount' => '1234',
        'currency' => 'AUD',
    ]);

    $response = $request->send();

    // Delete a customer
    $request = $g->deleteCard(['customerReference' => $response->getCustomerReference()]);
    $response = $request->send();
```

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

Out Of Scope
------------

[](#out-of-scope)

This currently supports the 'addcrn', 'editcrn', 'deletecrn' and 'trigger' actions of NAB's "Customer Management and Payment scheduling" XML API. Eventually it will support scheduling and triggering a DD payment.

It does not support the "XML API for Payments" API, however will eventually.

Support
-------

[](#support)

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

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

Recently: every ~5 days

Total

9

Last Release

1931d ago

Major Versions

0.1.3 → v3.0.02021-01-06

0.1.4 → v1.x-dev2021-01-27

v1.x-dev → v3.0.22021-01-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e1e85c3334817a7e28eec5a4d35b66d01b80a96522f9579d84d6c0bc07e9207?d=identicon)[darksaboteur](/maintainers/darksaboteur)

---

Top Contributors

[![eileenmcnaughton](https://avatars.githubusercontent.com/u/336308?v=4)](https://github.com/eileenmcnaughton "eileenmcnaughton (1 commits)")[![jason-zz](https://avatars.githubusercontent.com/u/6354744?v=4)](https://github.com/jason-zz "jason-zz (1 commits)")[![pointybeard](https://avatars.githubusercontent.com/u/24912?v=4)](https://github.com/pointybeard "pointybeard (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipaynabtransactnab

### Embed Badge

![Health badge](/badges/darksaboteur-omnipay-nabtransact/health.svg)

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

###  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)
