PHPackages                             ucraft-com/omnipay-liqpay - 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. ucraft-com/omnipay-liqpay

ActiveLibrary

ucraft-com/omnipay-liqpay
=========================

LiqPay gateway for Omnipay payment processing library

013.6kPHP

Since Dec 6Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ucraft-com/omnipay-liqpay)[ Packagist](https://packagist.org/packages/ucraft-com/omnipay-liqpay)[ RSS](/packages/ucraft-com-omnipay-liqpay/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay: LiqPay
===============

[](#omnipay-liqpay)

**LiqPay driver for the Omnipay Laravel payment processing library**

[![Latest Stable Version](https://camo.githubusercontent.com/b1e788cdf7e5b1d3771296d38a2884a8dff08a590701fd8e94e9ff6a6d3b523b/68747470733a2f2f706f7365722e707567782e6f72672f7563726166742d636f6d2f6f6d6e697061792d6c69717061792f76657273696f6e2e706e67)](https://packagist.org/packages/ucraft-com/omnipay-liqpay)[![Total Downloads](https://camo.githubusercontent.com/59a5aadb30e29402d5978d8367f47421d38d1ddfa3e8c39e4733e03f72520b9f/68747470733a2f2f706f7365722e707567782e6f72672f7563726166742d636f6d2f6f6d6e697061792d6c69717061792f642f746f74616c2e706e67)](https://packagist.org/packages/ucraft-com/omnipay-liqpay)

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

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

[](#installation)

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

```
{
    "require": {
        "ucraft-com/omnipay-liqpay": "v1.0.0"
    }
}
```

And run composer to update your dependencies:

```
composer update

```

Or you can simply run

```
composer require ucraft-com/omnipay-liqpay

```

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

[](#basic-usage)

1. Use Omnipay gateway class:

```
    use Omnipay\Omnipay;
```

2. Initialize LiqPay gateway:

```
    $gateway = Omnipay::create('LiqPay');
    $gateway->setPublicKey(env('LIQPAY_PUBLIC_KEY'));
    $gateway->setPrivateKey(env('LIQPAY_PRIVATE_KEY'));
```

3. Call purchase, pass all necessary data and call sendData. It will return Response object which will contain all necessary data for form submission.

```
    $request = $gateway->purchase();

    $request->setAmount(10);
    $request->setCurrency('USD');
    $request->setDescription('Product payment.');
    $request->setOrderId(XXXX);
    $request->setResultUrl(env('LIQPAY_RETURN_URL'));

    $response = $request->sendData($request->getData());
```

4. Create a webhook controller to handle the callback request at your `LIQPAY_RETURN_URL` and catch the webhook as follows

```
    $gateway = Omnipay::create('LiqPay');
    $gateway->setPublicKey(env('LIQPAY_PUBLIC_KEY'));
    $gateway->setPrivateKey(env('LIQPAY_PRIVATE_KEY'));

    $request = $this->gateway->fetchTransaction();

    $request->setOrderId(XXXX);

    $purchase = $request->send();

    // Do the rest with $purchase and response with 'OK'
    if ($purchase->isSuccessful()) {
        // Your logic
    }

    return new Response('OK');
```

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

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 announcements, 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/ucraft-com/omnipay-liqpay/issues), or better yet, fork the library and submit a pull request.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

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/f27fc61586c657de576cc2eb314e50979fdae18730accb87589b5d4f41a674a7?d=identicon)[ucraft](/maintainers/ucraft)

---

Top Contributors

[![taronucraft](https://avatars.githubusercontent.com/u/125879283?v=4)](https://github.com/taronucraft "taronucraft (1 commits)")

### Embed Badge

![Health badge](/badges/ucraft-com-omnipay-liqpay/health.svg)

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

PHPackages © 2026

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