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

ActiveLibrary[Payment Processing](/categories/payments)

xepozz/omnipay-paymentwall
==========================

PaymentWall driver for the Omnipay payment processing library

03601PHP

Since Aug 20Pushed 5y agoCompare

[ Source](https://github.com/xepozz/omnipay-paymentwall)[ Packagist](https://packagist.org/packages/xepozz/omnipay-paymentwall)[ RSS](/packages/xepozz-omnipay-paymentwall/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (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

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 73.9% 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/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)")[![xepozz](https://avatars.githubusercontent.com/u/6815714?v=4)](https://github.com/xepozz "xepozz (7 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)")

### Embed Badge

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

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

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