PHPackages                             soliantconsulting/soliant-payment - 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. soliantconsulting/soliant-payment

ActiveLibrary[Payment Processing](/categories/payments)

soliantconsulting/soliant-payment
=================================

Authoize.net XML API Library

2.0.0(9y ago)094MITPHPPHP ^5.6 || ^7.0

Since Nov 22Pushed 9y ago3 watchersCompare

[ Source](https://github.com/soliantconsulting/soliant-payment)[ Packagist](https://packagist.org/packages/soliantconsulting/soliant-payment)[ Docs](http://github.com/soliantconsulting/)[ RSS](/packages/soliantconsulting-soliant-payment/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (10)Versions (5)Used By (0)

Soliant Payment
===============

[](#soliant-payment)

[![Build Status](https://camo.githubusercontent.com/bf0853e8dd294f63b36ee6b84f76d31deda5d43c89ec7a5a793bcb166eb356b6/68747470733a2f2f7472617669732d63692e6f72672f736f6c69616e74636f6e73756c74696e672f736f6c69616e742d7061796d656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/soliantconsulting/soliant-payment)[![Coverage Status](https://camo.githubusercontent.com/da45db338c130cc13b95dd9426284b01490b84d9865e377e9b81cecab5e57432/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f736f6c69616e74636f6e73756c74696e672f736f6c69616e742d7061796d656e742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/soliantconsulting/soliant-payment?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/ef83c23c6f744d98bd54ee419f2a9b1d9fb764a1b0a1af1efc7065235d41e03d/68747470733a2f2f706f7365722e707567782e6f72672f736f6c69616e74636f6e73756c74696e672f736f6c69616e742d7061796d656e742f762f737461626c65)](https://packagist.org/packages/soliantconsulting/soliant-payment)[![Latest Unstable Version](https://camo.githubusercontent.com/ba5c0306533e9b0dd9504022c3753535b74dbb52c930a7fa0b8389f137897e96/68747470733a2f2f706f7365722e707567782e6f72672f736f6c69616e74636f6e73756c74696e672f736f6c69616e742d7061796d656e742f762f756e737461626c65)](https://packagist.org/packages/soliantconsulting/soliant-payment)[![Total Downloads](https://camo.githubusercontent.com/1ad96979872b298014b2f9699d1ab6b2b16b44eba301bf1acb6d005ca3a7ad4c/68747470733a2f2f706f7365722e707567782e6f72672f736f6c69616e74636f6e73756c74696e672f736f6c69616e742d7061796d656e742f646f776e6c6f616473)](https://packagist.org/packages/soliantconsulting/soliant-payment)[![License](https://camo.githubusercontent.com/77015ec6356fe8345dfc2a10b91c05e847c171ec023a9ad8c878948a0b0c315a/68747470733a2f2f706f7365722e707567782e6f72672f736f6c69616e74636f6e73756c74696e672f736f6c69616e742d7061796d656e742f6c6963656e7365)](https://packagist.org/packages/soliantconsulting/soliant-payment)

Quickstart
----------

[](#quickstart)

### Installation

[](#installation)

Via composer

```
{
    "require": {
        "soliantconsulting/soliant-payment": "^2.0.0" // ZF2 v1.0.1
    },
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/goetas/serializer.git"
        }
    ],
    "minimum-stability": "dev",
    "prefer-stable": true
}

```

### Usage

[](#usage)

ZF3 v2.0.0

Add modules to modules.config.php

```
return [
    'Zend\Filter',
    'Zend\Hydrator',
    'Zend\Router',
    'Zend\Validator',
    'Soliant\Payment\Base',
    'Soliant\Payment\Authnet',
    'Soliant\Payment\Demo', // (Optional) Access demo via /soliant-payment route
];

```

ZF2 v1.0.1

Add modules to project config/application.config.php.

```
'modules' => [
    'Soliant\Payment\Base', // Required for all payment modules
    'Soliant\Payment\[Payment Module]', // Where "Payment Module" is one of the following ("Authnet")
    'Soliant\Payment\Demo', // Access demo via /soliant-payment route
 ],

```

Copy the local.php.dist file from the payment module config directory to the project autoload directory.

```
$ cp vendor/soliantconsulting/soliant-payment/module/[Payment Module]/[Payment Module].payment.local.php.dist
config/autoload/[Payment Module].payment.local.php
```

Inject the desired payment service via factory using one of the following available aliases.

"authorizeAndCapture" // Authorize and capture credit card or eCheck

ZF3 v2.0.0

```
public function __invoke(ContainerInterface $sm)
{
    return new MyService($sm->get("[Service Alias]"));
}

```

ZF2 v1.0.1

```
public function createService(ServiceLocatorInterface $serviceLocator)
{
    return new MyService($serviceLocator->get("[Service Alias]"));
}

```

Each payment service should implement the following request structure. Request data is passed via array to the "sendRequest" method which returns a response object. (See the implemented payment modules payment.local.php.dist file for data array structure and info on overriding data field names. Ex. [a link](https://github.com/soliantconsulting/soliant-payment/blob/master/module/Authnet/config/authnet.payment.local.php.dist)). The response object can be tested for success with the "isSuccess" method which returns a boolean response.

If the request was successful, any data returned from the requested service should be access via the "getData" method.
The "getMessages" method will be populated in the event the request was unsuccessful.

```
$response = $this->[Service Alias]->sendRequest([
    'paymentType' => 'creditCard',
    'amount' => '5.00',
    'expirationDate' => '2017-01',
    'cardNumber' => '4111111111111111'
]);

if ($response->isSuccess()) {
    // get the response data
    $data = $response->getData();
} else {
    // get the errors
    $errors = $response->getMessages();
}

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 57.8% 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 ~2 days

Total

3

Last Release

3503d ago

Major Versions

1.0.1 → 2.0.02016-11-26

PHP version history (2 changes)1.0.0PHP ^5.5 || ^7.0

2.0.0PHP ^5.6 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b53976b59f7ed97c10b8e8be44c4d7410b6642047f70a96a5b59c73916d093a?d=identicon)[jeremiahsmall](/maintainers/jeremiahsmall)

---

Top Contributors

[![sdbennett](https://avatars.githubusercontent.com/u/2573838?v=4)](https://github.com/sdbennett "sdbennett (52 commits)")[![jeremiahsmall](https://avatars.githubusercontent.com/u/814871?v=4)](https://github.com/jeremiahsmall "jeremiahsmall (22 commits)")[![Stiffel](https://avatars.githubusercontent.com/u/5270922?v=4)](https://github.com/Stiffel "Stiffel (16 commits)")

---

Tags

paymentauthorize.netAuthNet

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/soliantconsulting-soliant-payment/health.svg)

```
[![Health](https://phpackages.com/badges/soliantconsulting-soliant-payment/health.svg)](https://phpackages.com/packages/soliantconsulting-soliant-payment)
```

###  Alternatives

[payum/payum

One million downloads of Payum already! Payum offers everything you need to work with payments. Friendly for all PHP frameworks (Symfony, Laravel, Laminas, Yii, Silex). Check more visiting site.

1.9k6.7M23](/packages/payum-payum)[payum/payum-bundle

One million downloads of Payum already! Payum offers everything you need to work with payments. Check more visiting site.

58310.7M48](/packages/payum-payum-bundle)[authorizenet/authorizenet

Official PHP SDK for Authorize.Net

45510.1M55](/packages/authorizenet-authorizenet)[omnipay/authorizenet

Authorize.Net gateway for the Omnipay payment processing library

582.6M7](/packages/omnipay-authorizenet)[academe/omnipay-authorizenetapi

Authorize.Net payment gateway driver for the Omnipay 3.x payment processing library

16947.5k](/packages/academe-omnipay-authorizenetapi)[commerceguys/authnet

PHP SDK for Authorize.Net API, using Guzzle.

20478.5k](/packages/commerceguys-authnet)

PHPackages © 2026

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