PHPackages                             shopblocks-engineering/omnipay-realex-v1 - 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. shopblocks-engineering/omnipay-realex-v1

ActiveLibrary[Payment Processing](/categories/payments)

shopblocks-engineering/omnipay-realex-v1
========================================

Realex driver with 3D Secure &amp; refund support for Omnipay payment processing library

046PHP

Since May 3Pushed 4y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: Realex
===============

[](#omnipay-realex)

**Realex driver with 3D Secure support for Omnipay payment processing library**

[![Build Status](https://camo.githubusercontent.com/aaaa29ed5ffe20b94eabdec48209e841ad4aaa97ef59e2a9e42dcafbe3d17f10/68747470733a2f2f7472617669732d63692e6f72672f646967697469636b6574732f6f6d6e697061792d7265616c65782e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/digitickets/omnipay-realex)[![Latest Stable Version](https://camo.githubusercontent.com/71c499cdfe68df5e9b97dae6e1405d6ad0636767ae2af098b01af993c278ccae/68747470733a2f2f706f7365722e707567782e6f72672f646967697469636b6574732f6f6d6e697061792d7265616c65782f76657273696f6e2e706e67)](https://packagist.org/packages/digitickets/omnipay-realex)[![Total Downloads](https://camo.githubusercontent.com/d5b176c53d0ca2243c1cbb21d7901c84c532bc97855d79ae868fc7b1fb2d1cd7/68747470733a2f2f706f7365722e707567782e6f72672f646967697469636b6574732f6f6d6e697061792d7265616c65782f642f746f74616c2e706e67)](https://packagist.org/packages/digitickets/omnipay-realex)

[Omnipay](https://github.com/omnipay/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.3+. This package implements Realex (Remote MPI) integration for Omnipay, including optional 3D Secure support.

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

[](#installation)

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

```
{
    "require": {
        "digitickets/omnipay-realex": "~5.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:

- Realex\_Remote

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

3D Secure
---------

[](#3d-secure)

The Realex driver has 3D Secure checking turned off by default. To enable 3D Secure, make sure you have received a 3D Secure account reference from Realex, then set the `3dSecure` parameter as '1' when you initialise the gateway.

Refunds
-------

[](#refunds)

In order to process a refund, you must configure the gateway with the `refundPassword` parameter set to the 'rebate' password that Realex provide you with. In addition, you will need to pass the following parameters, relating to the original transaction: `amount`, `transactionReference`, `transactionId`, `currency`, `authCode`.

Saved Cards
-----------

[](#saved-cards)

To save a card, you need to supply the `customerRef` and `cardReference` parameters. If the customer reference doesn't exist on Realex (you can check this with `$response->customerDoesntExist()` ), you must create the customer using `$gateway->createCustomer()`. Once the customer &amp; card is setup, you can authorise a payment by supplying the card reference &amp; customer reference instead of the card details:

```
$gateway->purchase(
    [
        'transactionId' => $transactionId,
        'customerRef'   => $customerRef,
        'amount'        => $amount,
        'currency'      => $currency,
        'cardReference' => $cardRef,
        'card'          => ['cvv' => $cvv]
    ]
);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f800619ba21f2d791473b112c3d7bf51765a284e1fe24f3f9e31b491420e1d2?d=identicon)[shopblocks](/maintainers/shopblocks)

---

Top Contributors

[![cfreear](https://avatars.githubusercontent.com/u/619726?v=4)](https://github.com/cfreear "cfreear (10 commits)")[![shopblocks](https://avatars.githubusercontent.com/u/14819903?v=4)](https://github.com/shopblocks "shopblocks (10 commits)")[![slogsdon](https://avatars.githubusercontent.com/u/647624?v=4)](https://github.com/slogsdon "slogsdon (2 commits)")[![jamie-peck](https://avatars.githubusercontent.com/u/26482307?v=4)](https://github.com/jamie-peck "jamie-peck (2 commits)")[![psaunders88](https://avatars.githubusercontent.com/u/4922659?v=4)](https://github.com/psaunders88 "psaunders88 (1 commits)")[![seonzoo](https://avatars.githubusercontent.com/u/7262729?v=4)](https://github.com/seonzoo "seonzoo (1 commits)")[![philwc](https://avatars.githubusercontent.com/u/617110?v=4)](https://github.com/philwc "philwc (1 commits)")[![lewisvgd](https://avatars.githubusercontent.com/u/10810802?v=4)](https://github.com/lewisvgd "lewisvgd (1 commits)")

### Embed Badge

![Health badge](/badges/shopblocks-engineering-omnipay-realex-v1/health.svg)

```
[![Health](https://phpackages.com/badges/shopblocks-engineering-omnipay-realex-v1/health.svg)](https://phpackages.com/packages/shopblocks-engineering-omnipay-realex-v1)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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