PHPackages                             knightar/omnipay-total-apps-gateway - 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. knightar/omnipay-total-apps-gateway

ActiveLibrary[Payment Processing](/categories/payments)

knightar/omnipay-total-apps-gateway
===================================

Total Apps Gateway driver for the Omnipay PHP payment processing library

0641PHP

Since May 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/KnightAR/omnipay-total-apps-gateway)[ Packagist](https://packagist.org/packages/knightar/omnipay-total-apps-gateway)[ RSS](/packages/knightar-omnipay-total-apps-gateway/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (1)Used By (0)

Omnipay: Total Apps Gateway
===========================

[](#omnipay-total-apps-gateway)

**Total Apps Gateway gateway for the Omnipay PHP payment processing library**

[Omnipay](https://github.com/thephpleague/omnipay) is a framework agnostic, multi-gateway payment processing library for PHP 7.2+. This package implements Total Apps Gateway support for Omnipay.

Install
-------

[](#install)

Via Composer

```
$ composer require league/omnipay:^3 knightar/omnipay-total-apps-gateway
```

Usage
-----

[](#usage)

The following gateways are provided by this package:

- Total Apps Gateway

\####This driver supports Omnipay v3. To use the outdated v2 package see the v.0.1.0 release.

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

This driver supports following transaction types:

- authorize($options) - authorize an amount on the customer's card
- capture($options) - capture an amount you have previously authorized
- purchase($options) - authorize and immediately capture an amount on the customer's card
- refund($options) - refund an already processed transaction
- void($options) - generally can only be called up to 24 hours after submitting a transaction

Gateway instantiation:

```
    $gateway = Omnipay::create('TotalAppsGateway');
    $gateway->setApiKey('6457Thfj624V5r7WUwc5v6a68Zsd6YEm');
```

`purchase` example

```
    $formData = array('number' => '4111111111111111', 'expiryMonth' => '10', 'expiryYear' => '2025', 'cvv' => '123');
    $gateway->purchase([
        'amount' => '10.00',
        'card'   => $formData
    ]);
```

Driver also supports paying using store cards in the customer vault using `cardReference` instead of `card`, use the vault functions with the `cardReference` parameter.

This driver also supports storing customer data in Total Apps Gateway's customer vault:

- createCard($options) - Create an entry in the customer vault
- updateCard($options) - Update an entry in the customer vault
- deleteCard($options) - Delete an entry in a customer vault

```
    $formData = array('number' => '4111111111111111', 'expiryMonth' => '10', 'expiryYear' => '2025', 'cvv' => '123');

    $response = $gateway->createCard([
        'card'          => $formData
    ])->send();

    $cardReference = $response->getCardReference();
```

`cardReference` can be used to authorize, purchase, and refund requests:

```
    $gateway->purchase([
        'amount'        => '10.00',
        'cardReference' => '1234567890'
    ]);
```

This driver also support ACH related transactions using the \\Omnipay\\TotalAppsGateway\\ACH class to validate ACH details, and `createACH`, `updateACH` methods in the Gateway. Your merchant account must have this approved and activated.

API Calls on the TODO list which will be implemented eventually:

- Adding, updating, removing, listing Recurring Plans
- Listing subscriptions by customer
- Add a Customer to the Vault while Initiating a Sale/Authorization/Credit/Validate Transaction

We currently have no plans to implement the following calls (Pull requests are accepted for those who wants to add them):

- Adding a custom subscription - Does not return necessary subscription ID to cancel
- Adding a customer and subscription - Does not return necessary subscription ID to cancel

Note: Credit API call is implemented but is not enabled by default on merchant accounts, contact Total Apps Gateway if you need this functionality. Please note that this code is untested.

Support
-------

[](#support)

If you are having general issues with Omnipay, we suggest posting on [Stack Overflow](http://stackoverflow.com/). Be sure to add the [omnipay tag](http://stackoverflow.com/questions/tagged/omnipay) so it can be easily found.

If you want to keep up to date with release anouncements, discuss ideas for the project, or ask more detailed questions, there is also a [mailing list](https://groups.google.com/forum/#!forum/omnipay) which you can subscribe to.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/knightar/omnipay-total-apps-gateway/issues), or better yet, fork the library and submit a pull request.

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Brandon Lis](https://github.com/knightar)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ecad68dc1fb0d5a823a80316f89aa06a348ea9e822cc5bf1af06b00c8e86001?d=identicon)[knightar](/maintainers/knightar)

---

Top Contributors

[![KnightAR](https://avatars.githubusercontent.com/u/195225?v=4)](https://github.com/KnightAR "KnightAR (21 commits)")

### Embed Badge

![Health badge](/badges/knightar-omnipay-total-apps-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/knightar-omnipay-total-apps-gateway/health.svg)](https://phpackages.com/packages/knightar-omnipay-total-apps-gateway)
```

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