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

ActiveLibrary[Payment Processing](/categories/payments)

pointybeard/omnipay-nabtransact
===============================

NAB Transact XML API gateway for the Omnipay payment processing library

0.1.1(10y ago)22005MITPHPPHP &gt;=5.4

Since Aug 14Pushed 7y ago2 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Total

2

Last Release

3900d ago

### Community

Maintainers

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

---

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/pointybeard-omnipay-nabtransact/health.svg)

```
[![Health](https://phpackages.com/badges/pointybeard-omnipay-nabtransact/health.svg)](https://phpackages.com/packages/pointybeard-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)
