PHPackages                             twostars/omnipay-paymentwall - 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. twostars/omnipay-paymentwall

ActiveLibrary[Payment Processing](/categories/payments)

twostars/omnipay-paymentwall
============================

PaymentWall driver for the Omnipay payment processing library

3.x-dev(4y ago)002MITPHPPHP &gt;=7.0

Since Apr 30Pushed 4y ago1 watchersCompare

[ Source](https://github.com/twostars/omnipay-paymentwall)[ Packagist](https://packagist.org/packages/twostars/omnipay-paymentwall)[ Docs](https://github.com/twostars/omnipay-paymentwall)[ RSS](/packages/twostars-omnipay-paymentwall/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

omnipay-paymentwall
===================

[](#omnipay-paymentwall)

**PaymentWall driver for the Omnipay PHP payment processing library**

[![Build Status](https://camo.githubusercontent.com/7d2127669f849df46a8ee86f2f124be6db444431c9c597874b3b45229da04547/68747470733a2f2f7472617669732d63692e6f72672f696e63756265382f6f6d6e697061792d7061796d656e7477616c6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/incube8/omnipay-paymentwall)[![StyleCI](https://camo.githubusercontent.com/31d26df14bc4b1c7da65ea21c9e409759b3065b16b4600d348405b04d9ab6882/68747470733a2f2f7374796c6563692e696f2f7265706f732f33353137313035302f736869656c64)](https://styleci.io/repos/35171050)

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

[PaymentWall](https://www.paymentwall.com/en/) is the leading digital payments platform for globally monetizing digital goods and services. Paymentwall assists game publishers, dating sites, rewards sites, SaaS companies and many other verticals to monetize their digital content and services.

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
{
    "require": {
        "delatbabel/omnipay-paymentwall": "dev-master"
    }
}
```

And run composer to update your dependencies:

```
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update

```

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

[](#basic-usage)

The following transactions are provided by this package via the REST API:

- Create a purchase
- Voiding a purchase

For general usage instructions, please see the main [Omnipay](https://github.com/thephpleague/omnipay)repository. There are also examples in the class API documentation.

### Quirks

[](#quirks)

There is no separate createCard message in this gateway. The PaymentWall gateway only supports card creation at the time of a purchase. Instead, a cardReference is returned when a purchase message is sent, as a component of the response to the purchase message. This card token can then be used to make purchases in place of card data, just like other gateways.

Refunds are not supported, only voids are supported.

Required fields when making a purchase include:

- amount
- currency
- accountId (customer account ID on your system)
- description
- clientIp
- browserDomain

Optional fields:

- packageId (account id will be used if this is not set)
- packageName (description will be used if this is not set)

For a card purchase, an Omnipay CreditCard object can be provided containing the card data. For token purchases a cardReference can be provided instead of the card data.

An additional array of customer data and history data can be provided as the customerData and historyData parameters. These can help with fraud prevention and detection. See the documentaton for the functions in the PurchaseRequest class as to the contents of these.

Unit Testing
------------

[](#unit-testing)

Tests are in the tests folder. Basic unit tests are in place for some of the code including mock message responses.

Test cases are somewhat limited because the test functionality requires creating mocks of some of the PaymentWall library functions which are called statically. Pull requests with additional tests and test cases are especially welcome.

API Documentation
-----------------

[](#api-documentation)

You can build the API documentation after running composer update, by using this command (on Linux/Unix systems):

```
./makedoc.sh

```

The API documentation will be built in documents/main in HTML format.

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.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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

Unknown

Total

1

Last Release

1536d ago

### Community

Maintainers

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

---

Top Contributors

[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (68 commits)")[![Jellyfrog](https://avatars.githubusercontent.com/u/759887?v=4)](https://github.com/Jellyfrog "Jellyfrog (9 commits)")[![mosufy](https://avatars.githubusercontent.com/u/5669803?v=4)](https://github.com/mosufy "mosufy (4 commits)")[![anthonyincube8](https://avatars.githubusercontent.com/u/10609949?v=4)](https://github.com/anthonyincube8 "anthonyincube8 (2 commits)")[![twostars](https://avatars.githubusercontent.com/u/626562?v=4)](https://github.com/twostars "twostars (2 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypaymentwall

### Embed Badge

![Health badge](/badges/twostars-omnipay-paymentwall/health.svg)

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

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