PHPackages                             xorik/omnipay-paymaster - 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. xorik/omnipay-paymaster

ActiveLibrary[Payment Processing](/categories/payments)

xorik/omnipay-paymaster
=======================

Implement paymaster for the omnipay (Russian payment system)

029PHP

Since Feb 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/xorik/omnipay-paymaster)[ Packagist](https://packagist.org/packages/xorik/omnipay-paymaster)[ RSS](/packages/xorik-omnipay-paymaster/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Omnipay gateway for the paymaster
---------------------------------

[](#omnipay-gateway-for-the-paymaster)

### Payment

[](#payment)

```
$gateway = \Omnipay\Omnipay::create('Paymaster');
$gateway->initialize([
    'merchant_id' => 'YOUR_MERCHANT_ID',
    'secret_key' => 'YOUR_SECRET_KEY',
    'hashing_algorithm' => 'sha256' // Default value
]);
$response = $gateway->purchase([
    'currency' => 'RUB',
    'amount' => '1.00',
    'transactionId' => '123',
    'description' => 'Оплата заказа №123'
])->send();

if ($response->isRedirect()) {
    // Return this response to the user
    $response->getRedirectResponse();
}
```

### Callback

[](#callback)

Put this on your callback controller

```
$gateway = \Omnipay\Omnipay::create('Paymaster');
$gateway->initialize([
    'secret_key' => 'YOUR_SECRET_KEY',
]);

$response = $gateway->completePurchase($_POST)->send();

if ($response->isSuccessful()) {
    // Your order ID
    echo $response->getTransactionId();
    // Transaction ID
    echo $response->getTransactionReference();
}
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/347044?v=4)[Andrey](/maintainers/xorik)[@xorik](https://github.com/xorik)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/xorik-omnipay-paymaster/health.svg)

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

###  Alternatives

[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18570.2k1](/packages/omnipay-coinbase)

PHPackages © 2026

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