PHPackages                             futureecom/omnipay-acceptblue - 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. futureecom/omnipay-acceptblue

ActiveLibrary[Payment Processing](/categories/payments)

futureecom/omnipay-acceptblue
=============================

Accept Blue driver for the Omnipay payment processing library.

1.2.0(1y ago)011MITPHPPHP ^8.3

Since Aug 22Pushed 1y ago2 watchersCompare

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

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

Omnipay: Accept.Blue
====================

[](#omnipay-acceptblue)

**Accept.Blue gateway for the Omnipay payment processing library**

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

[](#installation)

Install the gateway using composer:

composer require futureecom/omnipay-acceptblue

Usage
-----

[](#usage)

```
use Omnipay\Omnipay;

$gateway = Omnipay::create('AcceptBlue');
$gateway->setApiSourceKey('your-api-source-key');
$gateway->setApiPin('your-api-pin');
$gateway->setTestMode(true); // Set to false for live transactions

// Authorize a payment using a token
$response = $gateway->authorize([
    'amount' => 10.00,
    'cardReference' => 'token123'
])->send();

if ($response->isSuccessful()) {
    echo "Authorization was successful!";
} else {
    echo "Authorization failed: " . $response->getMessage();
}

// Capture a payment using a token
$response = $gateway->capture([
    'transactionReference' => 12345,
    'cardReference' => 'token123'
])->send();

if ($response->isSuccessful()) {
    echo "Capture was successful!";
} else {
    echo "Capture failed: " . $response->getMessage();
}

// Refund a payment
$response = $gateway->refund([
    'transactionReference' => 435341,
    'amount' => '10.00',
])->send();

if ($response->isSuccessful()) {
    echo "Refund was successful!";
} else {
    echo "Refund failed: " . $response->getMessage();
}

// Void a payment
$response = $gateway->void([
    'transactionReference' => 435341,
])->send();

if ($response->isSuccessful()) {
    echo "Void was successful!";
} else {
    echo "Void failed: " . $response->getMessage();
}

// Tokenize a credit card
$response = $gateway->createCard([
    'card' => [
        'number' => '4111111111111111',
        'expiryMonth' => '6',
        'expiryYear' => '2023',
        'cvv' => '123',
    ],
])->send();

if ($response->isSuccessful()) {
    echo "Tokenization was successful!";
    echo "Token: " . $response->getCardReference();
} else {
    echo "Tokenization failed";
}
```

This implementation includes the `testMode` parameter in the test cases for all transaction types, ensuring that the appropriate endpoints are used when `testMode` is enabled.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance40

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95% 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 ~5 days

Total

3

Last Release

613d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/547790?v=4)[futureavi](/maintainers/futureavi)[@futureavi](https://github.com/futureavi)

---

Top Contributors

[![futureecomavi](https://avatars.githubusercontent.com/u/48889697?v=4)](https://github.com/futureecomavi "futureecomavi (19 commits)")[![prwnr](https://avatars.githubusercontent.com/u/11226976?v=4)](https://github.com/prwnr "prwnr (1 commits)")

---

Tags

paymentgatewaypaymerchantomnipayacceptblue

###  Code Quality

TestsPHPUnit

Static AnalysisRector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/futureecom-omnipay-acceptblue/health.svg)

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

PHPackages © 2026

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