PHPackages                             opendns/merchant-esolutions-php - 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. opendns/merchant-esolutions-php

AbandonedArchivedLibrary[Payment Processing](/categories/payments)

opendns/merchant-esolutions-php
===============================

A client library for Merchant e-Solutions' payment gateway and other APIs

v0.1.2(11y ago)24.4k3BSD-3-ClausePHPPHP &gt;= 5.3.3

Since Nov 11Pushed 11y ago11 watchersCompare

[ Source](https://github.com/opendns/merchant-esolutions-php)[ Packagist](https://packagist.org/packages/opendns/merchant-esolutions-php)[ Docs](https://github.com/opendns/merchant-esolutions-php)[ RSS](/packages/opendns-merchant-esolutions-php/feed)WikiDiscussions master Synced 1mo ago

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

[![Build Status](https://camo.githubusercontent.com/211a9fde1a9dcac116550122d4e5e896c703cbb338b5afc8893aaec272819214/68747470733a2f2f7472617669732d63692e6f72672f6f70656e646e732f6d65726368616e742d65736f6c7574696f6e732d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/opendns/merchant-esolutions-php)

Introduction
============

[](#introduction)

merchant-esolutions-php is designed to make it easier to use the various payment APIs provided by Merchant e-Solutions.

If you find any bugs, or have feature requests, please file an issue in [GitHub](https://github.com/opendns/merchant-esolutions-php) or open a pull request.

Installation
============

[](#installation)

Composer
--------

[](#composer)

Ensure that composer is [installed on your machine](https://getcomposer.org/doc/00-intro.md). You will need to create a `composer.json` file in the root directory of your application.

```
{
    "require": {
        "opendns/merchant-solutions-php": "~0.1"
    }
}
```

Once the `composer.json` file is created, follow these steps from composer to [install the merchant-esolutions-php package](https://getcomposer.org/doc/00-intro.md#using-composer).

Composer creates its own autoloader. Include `vendor/autoload.php` in your application config file and you will have full access to the merchant-esolutions-php client.

APIs
====

[](#apis)

This readme has a short description of the APIs and an example of each, but there's also a [full api reference](http://opendns.github.io/merchant-esolutions-php/) available on this project's Github page.

Trident
-------

[](#trident)

Trident is the payment gateway API, providing most card operations. A simple transaction might look like this:

```
use OpenDNS\MES\Trident\Sale;

$response = Sale::factory(Sale::ENV_TEST)
    ->setAuthenticationInfo('xxxxxxxxxxx', 'yyyyyyy')
    ->setAmount(13.37)
    ->setCardNumber('3499-999999-99991')
    ->setCardExpiration(12, 2018)
    ->setCvv2(1234)
    ->execute();

echo $response['transaction_id'];
```

Reporting
---------

[](#reporting)

The reporting API offers full access to any of the MeS gateway's reports as CSV data. Here's a sample report:

```
use OpenDNS\MES\Reporting\Report;

$response = Report::factory(Report::ENV_PROD)
    ->setAuthenticationInfo('xxxxxxxxxxx', 'yyyyyyy')
    ->setNodeId('zzzzzzzzzz')
    ->setReportId(Report::REPORT_SETTLEMENT_SUMMARY)
    ->setBeginDate(new \DateTime('-1 week', new \DateTimeZone('UTC')))
    ->setEndDate(new \DateTime('now', new \DateTimeZone('UTC')))
    ->setIncludeTridentTransactionId(true)
    ->execute();

$stream = $response->getResponseBodyStream();
while ($row = fgetcsv($stream)) {
    echo implode(',', $row);
}
```

Recurring Billing
-----------------

[](#recurring-billing)

The recurring billing API allows you to create and manage recurring billing profiles.

*Note: If you're building a new application, it's probably better to use the Trident API to store a card and issue additional Sale transactions against it*

*Further Note: The recurring billing API support is experimental, please feel free to open bugs/pull requests if you find yourself using it.*

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~4 days

Total

3

Last Release

4193d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49e7b1b22aa6d40227fb11caf08b47a049c946ef68b091901bf36c7e971b0192?d=identicon)[tabacco](/maintainers/tabacco)

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

---

Top Contributors

[![tabacco](https://avatars.githubusercontent.com/u/102973?v=4)](https://github.com/tabacco "tabacco (6 commits)")[![jeveleth](https://avatars.githubusercontent.com/u/305137?v=4)](https://github.com/jeveleth "jeveleth (1 commits)")

---

Tags

paymentcredit-cardmesmerchant e-solutionstrident

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/opendns-merchant-esolutions-php/health.svg)

```
[![Health](https://phpackages.com/badges/opendns-merchant-esolutions-php/health.svg)](https://phpackages.com/packages/opendns-merchant-esolutions-php)
```

###  Alternatives

[shetabit/multipay

PHP Payment Gateway Integration Package

291348.2k3](/packages/shetabit-multipay)[bitpay/sdk

Complete version of the PHP library for the new cryptographically secure BitPay API

42337.5k4](/packages/bitpay-sdk)[sebdesign/laravel-viva-payments

A Laravel package for integrating the Viva Payments gateway

4845.9k](/packages/sebdesign-laravel-viva-payments)[verotel/flexpay-php-client

A client to Verotel FlexPay online payment gateway

12210.4k](/packages/verotel-flexpay-php-client)

PHPackages © 2026

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