PHPackages                             jamesnuttall/omnipay-barclays-dl - 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. jamesnuttall/omnipay-barclays-dl

ActiveLibrary[Payment Processing](/categories/payments)

jamesnuttall/omnipay-barclays-dl
================================

Barclays ePDQ Direct Link driver for the Omnipay payment processing library.

2.0.0(7y ago)12.9kMITPHP

Since Nov 8Pushed 2y ago1 watchersCompare

[ Source](https://github.com/JamesNuttall/omnipay-barclays-dl)[ Packagist](https://packagist.org/packages/jamesnuttall/omnipay-barclays-dl)[ Docs](https://github.com/jamesnuttall/omnipay-barclays-dl)[ RSS](/packages/jamesnuttall-omnipay-barclays-dl/feed)WikiDiscussions 2.x Synced yesterday

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

WARNING: NOT MAINTAINED
=======================

[](#warning-not-maintained)

Omnipay: Barclays ePDQ DirectLink
=================================

[](#omnipay-barclays-epdq-directlink)

**Barclays ePDQ DirectLink driver for the Omnipay PHP payment processing library**

[![Build Status](https://camo.githubusercontent.com/99a3e87580b3b1ea8a60b9dd5771c907313fc87327d6310ce0c3179d9b28e52a/68747470733a2f2f7472617669732d63692e6f72672f4a616d65734e757474616c6c2f6f6d6e697061792d626172636c6179732d646c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/JamesNuttall/omnipay-barclays-dl)[![Latest Stable Version](https://camo.githubusercontent.com/0035aebf4a042ff2b90f868a4ec51923a5b13c9b7e1c4685db037491ab0a2416/68747470733a2f2f706f7365722e707567782e6f72672f6a616d65736e757474616c6c2f6f6d6e697061792d626172636c6179732d646c2f76657273696f6e)](https://packagist.org/packages/jamesnuttall/omnipay-barclays-dl)[![Total Downloads](https://camo.githubusercontent.com/1a24e979b9ce0bf10917d5662b6d081a4eb441a533110ec53e5f64ad3bcc90d2/68747470733a2f2f706f7365722e707567782e6f72672f6a616d65736e757474616c6c2f6f6d6e697061792d626172636c6179732d646c2f646f776e6c6f616473)](https://packagist.org/packages/jamesnuttall/omnipay-barclays-dl)[![License](https://camo.githubusercontent.com/43949b227bbb66b5504417580c48e4ea6825796947ca0ffb43a25569c65ec03d/68747470733a2f2f706f7365722e707567782e6f72672f6a616d65736e757474616c6c2f6f6d6e697061792d626172636c6179732d646c2f6c6963656e7365)](https://packagist.org/packages/jamesnuttall/omnipay-barclays-dl)

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 5.

This package implements [Barclays ePDQ Direct Link](https://support.epdq.co.uk/en/guides/integration%20guides/directlink)support, and supports PHP 5.5+ on Omnipay 2.x. For use of Omnipay 3.x please see the [master branch](https://github.com/JamesNuttall/omnipay-barclays-dl/tree/master).

NOTICE
------

[](#notice)

This gateway currently only supports the following:

- Purchase Request
- Purchase Response

ROADMAP
-------

[](#roadmap)

Below are features/changes I have planned to work on in the future:

- Cleanup Branches
- Refund Requests
- Maintenance Requests
- Pre-Authorization Requests (Pretty sure they aren't possible in the current state of package??)
- Potentially Improving response parsing/reporting
- Order Query Requests

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

[](#installation)

Using composer, the master branch can be installed like this:

```
composer require league/omnipay jamesnuttall/omnipay-barclays-dl:~2.0

```

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

[](#basic-usage)

The following gateways are provided by this package:

- Barclays ePDQ DirectLink

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

### Basic purchase example

[](#basic-purchase-example)

```
// Gateway initialization
$gateway = \Omnipay\Omnipay::create('BarclaysEpdqDl');
$gateway->setClientId('xxxxxx');
$gateway->setUserId('xxxx');
$gateway->setPassword('xxxxxxx');
$gateway->setShaIn('xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx');
$gateway->setTestMode(true);

// Card data
$card = [
    'number' => 'xxxxxxxxxxxxxxxx',
    'expiryMonth' => 'xx',
    'expiryYear' => 'xxxx',
    'cvv' => 'xxx'
];

// Try to send purchase request
try {
    $response = $gateway->purchase(
        [
            'transactionId' => 'xxxxxxxxxx',
            'amount' => '25.00',
            'currency' => 'GBP',
            'card' => $card
        ]
    )->send();

    if ($response->isSuccessful()) {
        // Payment successful
        print($response->getTransactionReference());

    } else {
        // Payment failed
        print($response->getMessage());
    }
} catch (\Exception $e) {
    // Internal error, log exception and display a generic message to the customer
    exit("Error processing your payment. Please try again later.");
}
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~871 days

Total

3

Last Release

1000d ago

Major Versions

2.x-dev → 3.x-dev2023-08-16

### Community

Maintainers

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

---

Top Contributors

[![JamesNuttall](https://avatars.githubusercontent.com/u/22011451?v=4)](https://github.com/JamesNuttall "JamesNuttall (10 commits)")

---

Tags

barclaysbarclaysepdqdirectlinkepdqomnipaypayementgatewayphppaymentgatewaypaymerchantomnipaybarclaysepdqdirectlink

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/jamesnuttall-omnipay-barclays-dl/health.svg)

```
[![Health](https://phpackages.com/badges/jamesnuttall-omnipay-barclays-dl/health.svg)](https://phpackages.com/packages/jamesnuttall-omnipay-barclays-dl)
```

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