PHPackages                             antonis0490/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. [Payment Processing](/categories/payments)
4. /
5. antonis0490/omnipay-qiwi

ActiveLibrary[Payment Processing](/categories/payments)

antonis0490/omnipay-qiwi
========================

Qiwi driver for the Omnipay payment processing library

271PHP

Since Sep 19Pushed 3y ago1 watchersCompare

[ Source](https://github.com/antonis0490/omnipay-qiwi)[ Packagist](https://packagist.org/packages/antonis0490/omnipay-qiwi)[ RSS](/packages/antonis0490-omnipay-qiwi/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Qiwi: Qiwi
==========

[](#qiwi-qiwi)

**Qiwi driver for the Qiwi PHP payment processing library**

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

[](#installation)

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

```
{
    "require": {
        "antonis0490/omnipay-qiwi": "dev-master"
    }
}
```

And run composer to update your dependencies:

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

```

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

[](#basic-usage)

To make a request:

```
use Omnipay\Omnipay;
use Omnipay\Qiwi\Message\StatusCallback;

$gateway = Omnipay::create('Qiwi');

$gateway->initialize(array(
    'qiwiApiId' => "",
    'qiwiApiPass' => "",
    'qiwiApiNotifyPass' => "",
    'qiwiWallet' => qiwi Wallet,
    'testMode' => 1, // Or false when you are ready for live transactions
));

$options = array
(

    'user' => "Users Phone number",
    'comment' => "",
    'ccy' => "currency",
    'amount' => "",
    "lifetime" => "how long will this be valid? data here",
    "shop" => "qiwi Wallet",
    "transaction" => "transaction id",
    "target" => "",
    'successUrl' => "",
    'failUrl' => "",
    'cancel_url' => "",

);

$transaction = $gateway->purchase($options);
$response = $transaction->send();

if (gettype($response) == "object" && $response->isRedirect()) {
    //redirect
} else {
   //error
}

```

Notify function:

```
$status = new StatusCallback($_REQUEST);

if ($status->UserFilled()) {
    //do whats needed
}

//reply with 200
$this->response->statusCode(200);
$this->response->type("text/xml");

$dom = new \DOMDocument('1.0');
$root = $dom->createElement('result');
$dom->appendChild($root);
$root->appendChild( $dom->createElement('result_code', 0) );
$dom->formatOutput = false;
$reply_xml = $dom->saveXML();

$this->response->body($reply_xml);
return $this->response;

```

The following gateways are provided by this package:

- Qiwi

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

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity25

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/6840786cae94e89dec37e8df86444903c7587b8602440f42a90eb9f6bf1e958e?d=identicon)[antonis0490](/maintainers/antonis0490)

---

Top Contributors

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

### Embed Badge

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

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

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