PHPackages                             arbory/omnipay-paysera - 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. arbory/omnipay-paysera

ActiveLibrary[Payment Processing](/categories/payments)

arbory/omnipay-paysera
======================

Paysera gateway for Omnipay payment processing library

v1.1.0(5y ago)22.3k1MITPHP

Since Mar 13Pushed 5y agoCompare

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

READMEChangelogDependencies (5)Versions (5)Used By (0)

Omnipay: Paysera
================

[](#omnipay-paysera)

**Paysera gateway driver for the Omnipay PHP payment processing library**

[![Build Status](https://camo.githubusercontent.com/06eb10ae59aa5e2d0521a7a6453c68585d0b641247b4a166ebe53d87db80af72/68747470733a2f2f7472617669732d63692e636f6d2f6172626f72792f6f6d6e697061792d706179736572612e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/arbory/omnipay-paysera)[![Coverage Status](https://camo.githubusercontent.com/3428cbaef9187aad41ebdb1ebe2338bad9842f9acdc69c4baadba10d78c3e44b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6172626f72792f6f6d6e697061792d706179736572612f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/arbory/omnipay-paysera?branch=master)

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

[](#installation)

Omnipay is installed via [Composer](http://getcomposer.org/). To install, require `league/omnipay` and `arbory/omnipay-paysera` with Composer:

```
composer require league/omnipay arbory/omnipay-paysera
```

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

Requirements
------------

[](#requirements)

- PHP 7.0+
- Omnipay v3+
- ext-openssl

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

[](#basic-usage)

The following gateways are provided by this package:

- Paysera

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

Code Example
------------

[](#code-example)

```
use Omnipay\Omnipay;

// Setup payment gateway
$gateway = Omnipay::create('Paysera');
$gateway->setProjectId('123456');
$gateway->setPassword('abcde12345');

// Optionally to determine which order has been paid
$orderId = 1;

// Example card (actually customer) data
$card = [
    'email' => 'john.doe@example.com',
    'billingFirstName' => 'John',
    'billingLastName' => 'Doe',
    'billingPhone' => '+372 12345678',
    'billingCompany' => 'Good Workers Ltd.',
    'billingAddress1' => 'Viru valjak 24',
    'billingCity' => 'Tallinn',
    'billingPostcode' => '123456',
    'billingCountry' => 'EE',
];

// Send purchase request
$response = $gateway->purchase(
    [
        'language' => 'ENG',
        'transactionId' => $orderId,
        'paymentMethod' => 'hanzaee',
        'amount' => '10.00',
        'currency' => 'EUR',
        'returnUrl' => "https://example.com/paysera/return/{$orderId}",
        'cancelUrl' => "https://example.com/paysera/cancel/{$orderId}",
        'notifyUrl' => "https://example.com/paysera/notify/{$orderId}",
        'card' => $card,
    ]
)->send();

if ($response->isRedirect()) {
    return $response->redirect();
}
```

You should also implement method for `notifyUrl`. After successful charging, Paysera sends a request to this URL.

```
use Omnipay\Omnipay;

// Setup payment gateway
$gateway = Omnipay::create('Paysera');
$gateway->setProjectId('123456');
$gateway->setPassword('abcde12345');

// Accept the notification
$response = $gateway->completePurchase()
    ->send();

if ($response->isSuccessful()) {
    // Mark the order as paid

    return true;
}
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Credits
-------

[](#credits)

- [Povilas Susinskas](https://github.com/povilas)
- [Semyon Chetvertnyh](https://github.com/semyonchetvertnyh)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 68.4% 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 ~305 days

Total

3

Last Release

2007d ago

Major Versions

v0.1.0 → v1.0.02020-11-11

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/686243?v=4)[Miks Miķelsons](/maintainers/miks)[@miks](https://github.com/miks)

---

Top Contributors

[![semyonchetvertnyh](https://avatars.githubusercontent.com/u/2598761?v=4)](https://github.com/semyonchetvertnyh "semyonchetvertnyh (13 commits)")[![miks](https://avatars.githubusercontent.com/u/686243?v=4)](https://github.com/miks "miks (6 commits)")

---

Tags

paymentgatewaypaymerchantomnipaypurchasePaysera

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/arbory-omnipay-paysera/health.svg)

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

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