PHPackages                             leonardjke/omnipay-qiwi - 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. leonardjke/omnipay-qiwi

ActiveLibrary

leonardjke/omnipay-qiwi
=======================

Qiwi p2p gateway for Omnipay payment processing library

1.0.0(2y ago)081MITPHPPHP ^7.2|^8

Since Apr 10Pushed 2y ago1 watchersCompare

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

READMEChangelog (8)Dependencies (6)Versions (9)Used By (0)

Omnipay: omnipay-qiwi
=====================

[](#omnipay-omnipay-qiwi)

**Qiwi P2P gateway for the Omnipay PHP payment processing library**

[![Latest Version on Packagist](https://camo.githubusercontent.com/de340af14b5ab0e668dcacb90cf7c8a983017968efa886a2955823942d5aa2af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656f6e6172646a6b652f6f6d6e697061792d716977692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/leonardjke/omnipay-omnipay-qiwi)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/5a1c62aabbee3caafc208b983b1addaf42910737c854216536914872bcc53880/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c656f6e6172646a6b652f6f6d6e697061792d716977692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/leonardjke/omnipay-omnipay-qiwi)[![Coverage Status](https://camo.githubusercontent.com/e78b26fc4f0d766fed42ca5e1c841ecfe5d483ac55fd9ddbd90a1607265654e4/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c656f6e6172646a6b652f6f6d6e697061792d716977692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/leonardjke/omnipay-omnipay-qiwi/code-structure)[![Quality Score](https://camo.githubusercontent.com/7792a9130889d983e486db28bce535059935d45aa083fd378cb86546c55aa274/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c656f6e6172646a6b652f6f6d6e697061792d716977692e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/leonardjke/omnipay-omnipay-qiwi)[![Total Downloads](https://camo.githubusercontent.com/0badd55ca5f80885887235b239ba59684290f0b14c385efd74c94e6728180e13/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c656f6e6172646a6b652f6f6d6e697061792d716977692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/leonardjke/omnipay-omnipay-qiwi)

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

This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.

Install
-------

[](#install)

Instal the gateway using require. Require the `league/omnipay` base package and this gateway.

```
$ composer require league/omnipay leonardjke/omnipay-qiwi
```

Usage
-----

[](#usage)

### How to initialize Qiwi P2P

[](#how-to-initialize-qiwi-p2p)

```
/** @var P2PGateway $gateway */
$gateway = Omnipay::create('Qiwi_P2P');

$gateway->initialize([
    'public_key' => 'user-public-key',
    'secret_key' => 'user-private-key',
]);
```

To add some custom configs use. Example,

```
$gateway->setCustomFields(['themeCode' => 'codeStyle']);
```

To set return page use

```
$gateway->setSuccessUrl('https://example.com/page-to-return-after-complete');
```

Or everything in initialize step

```
/** @var P2PGateway $gateway */
$gateway = Omnipay::create('Qiwi_P2P');

$gateway->initialize([
    'public_key' => 'user-public-key',
    'secret_key' => 'user-private-key',
    'success_url' => 'https://example.com/page-to-return-after-complete',
    'custom_fields' => ['themeCode' => 'customCodeStyle'],
]);
```

### How to accept webhook from qiwi

[](#how-to-accept-webhook-from-qiwi)

```
/** @var P2PGateway $gateway */
$gateway = Omnipay::create('Qiwi_P2P');

$gateway->initialize([
    'public_key' => 'user-public-key',
    'secret_key' => 'user-private-key',
]);

/** @var NotificationRequest $gateway */
$response = $gateway->acceptNotification();

// Check request signature
if (!$response->isValid()) {
    return 'error message';
}

// Status from NotificationInterface
$status = $response->getTransactionStatus();

$amount = $response->getAmount();
$message = $response->getMessage();
$currency = $response->getCurrency();
$transactionId = $response->getTransactionId();
$transactionReference = $response->getTransactionReference();
```

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/leonardjke/omnipay-omnipay-qiwi/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 :author\_email instead of using the issue tracker.

Credits
-------

[](#credits)

- [leonardjke](https://github.com/leonardjke)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~131 days

Recently: every ~197 days

Total

7

Last Release

1071d ago

Major Versions

0.6 → 1.0.02023-06-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/6551a2fbcafa58ed37141ae59bb8414b67c06ebf0a342d1425c23a203a769115?d=identicon)[leonardjke](/maintainers/leonardjke)

---

Top Contributors

[![leonardjke](https://avatars.githubusercontent.com/u/22217360?v=4)](https://github.com/leonardjke "leonardjke (13 commits)")

---

Tags

omnipayqiwiqiwi-p2p

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/leonardjke-omnipay-qiwi/health.svg)

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

###  Alternatives

[silverstripe/silverstripe-omnipay

SilverStripe Omnipay Payment Module

38106.0k15](/packages/silverstripe-silverstripe-omnipay)

PHPackages © 2026

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