PHPackages                             aleksandrzhiliaev/omnipay-payeer - 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. aleksandrzhiliaev/omnipay-payeer

ActiveLibrary[Payment Processing](/categories/payments)

aleksandrzhiliaev/omnipay-payeer
================================

Payeer gateway for Omnipay payment processing library

1.0.0(8y ago)101086PHP

Since Feb 5Pushed 8y agoCompare

[ Source](https://github.com/aleksandrzhiliaev/omnipay-payeer)[ Packagist](https://packagist.org/packages/aleksandrzhiliaev/omnipay-payeer)[ Docs](http://sassoft.ru)[ RSS](/packages/aleksandrzhiliaev-omnipay-payeer/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

omnipay-payeer
==============

[](#omnipay-payeer)

[![Build Status](https://camo.githubusercontent.com/d694c9880a5d329ae2346eb339737d05e6ba37e86a780a774acd1d392dce130e/68747470733a2f2f7472617669732d63692e6f72672f616c656b73616e64727a68696c696165762f6f6d6e697061792d7061796565722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aleksandrzhiliaev/omnipay-payeer)[![Codacy Badge](https://camo.githubusercontent.com/b75d9fc40e8cddfc6e507f73772701c3068bad9751b775022592b09ee61fbf7d/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3535613536366435356362643431393262366134396364373533633339646465)](https://www.codacy.com/app/sassoftinc/omnipay-payeer?utm_source=github.com&utm_medium=referral&utm_content=aleksandrzhiliaev/omnipay-payeer&utm_campaign=Badge_Grade)[![Total Downloads](https://camo.githubusercontent.com/ce7877b6dab4cb0c9c41a49c1287ff5930da35718c274f75442a529eab16da3e/68747470733a2f2f706f7365722e707567782e6f72672f616c656b73616e64727a68696c696165762f6f6d6e697061792d7061796565722f646f776e6c6f616473)](https://packagist.org/packages/aleksandrzhiliaev/omnipay-payeer)

Payeer gateway for [Omnipay](https://github.com/thephpleague/omnipay) payment processing library.

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

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

[](#installation)

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

```
{
    "require": {
        "aleksandrzhiliaev/omnipay-payeer": "*"
    }
}
```

And run composer to update your dependencies:

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

```

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

[](#basic-usage)

The following gateways are provided by this package:

- Payeer

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

Example
-------

[](#example)

1. Purchase:

```
$gateway = Omnipay::create('Payeer');

$gateway->setAccount('P...');
$gateway->setShopId('');
$gateway->setShopSecret('');
$gateway->setCurrency('USD');

$gateway->setApiId('');
$gateway->setApiSecret('');

$response = $gateway->purchase([
       'amount' => '0.1',
       'currency' => 'USD',
       'transactionId' => time(),
       'description' => 'Order # 123',
       'cancelUrl' => 'https://example.com',
       'returnUrl' => 'https://example.com',
       'notifyUrl' => 'https://example.com'
        ])->send();

if ($response->isSuccessful()) {
   // success
} elseif ($response->isRedirect()) {

   # Generate form to do payment
   $hiddenFields = '';
   foreach ($response->getRedirectData() as $key => $value) {
       $hiddenFields .= sprintf(
          '',
           htmlentities($key, ENT_QUOTES, 'UTF-8', false),
           htmlentities($value, ENT_QUOTES, 'UTF-8', false)
          )."\n";
   }

   $output = ' %2$s ';
   $output = sprintf(
      $output,
      htmlentities($response->getRedirectUrl(), ENT_QUOTES, 'UTF-8', false),
      $hiddenFields
   );
   echo $output;
   # End of generating form
} else {
   echo $response->getMessage();
}
```

2. Validate webhook

```
try {
    $response = $gateway->completePurchase()->send();
    $transactionId = $response->getTransactionId();
    $amount = $response->getAmount();
    $success = $response->isSuccessful();
    $currency = $response->getCurrency();
    if ($success) {
       // success
    }
} catch (\Exception $e) {
  // check $e->getMessage()
}
```

3. Do refund

```
try {
    $response = $gateway->refund(
        [
            'payeeAccount' => '',
            'amount' => 0.1,
            'description' => 'Testing payeer',
            'currency' => 'USD',
        ]
    )->send();

    if ($response->isSuccessful()) {
        // success
    } else {
        // check $response->getMessage();
    }

} catch (\Exception $e) {
    // check $e->getMessage();
}
```

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.

If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/aleksandrzhiliaev/omnipay-payeer/issues).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~146 days

Total

3

Last Release

3090d ago

Major Versions

0.0.1.1 → 1.0.02017-11-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/c2b3b57c64f0a830f409ec8b43a05dc8c48048b701ce0e61633c4d7c8ff8e29b?d=identicon)[Sassoft](/maintainers/Sassoft)

---

Top Contributors

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

---

Tags

omnipayomnipay-payeerpayeerphppaymentgatewaypaymerchantomnipaypurchasepayeer

### Embed Badge

![Health badge](/badges/aleksandrzhiliaev-omnipay-payeer/health.svg)

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

###  Alternatives

[lokielse/omnipay-alipay

Alipay gateway for Omnipay payment processing library

587421.0k11](/packages/lokielse-omnipay-alipay)

PHPackages © 2026

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