PHPackages                             bileto/omnipay-tatrabank - 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. bileto/omnipay-tatrabank

ActiveLibrary[Payment Processing](/categories/payments)

bileto/omnipay-tatrabank
========================

TatraBank gateway for Omnipay payment processing library

v0.5.0(9y ago)114.0k1MITPHP

Since Mar 7Pushed 9y ago13 watchersCompare

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

READMEChangelog (5)Dependencies (5)Versions (7)Used By (0)

Omnipay: TatraBank
==================

[](#omnipay-tatrabank)

**TatraBank driver for the Omnipay PHP payment processing library**

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

TatraBank does not provide sandbox environment, but they provide this online [Testing form](https://moja.tatrabanka.sk/cgi-bin/e-commerce/start/example).

Docs
----

[](#docs)

[CardPay (SK)](http://www.tatrabanka.sk/cardpay/CardPay_technicka_prirucka_HMAC.pdf)

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

[](#installation)

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

```
{
    "require": {
        "bileto/omnipay-tatrabank": "~0.2"
    }
}
```

TL;DR
-----

[](#tldr)

```
use Omnipay\Tatrabank\GatewayFactory;

$secureKey = "3132333435363738393031323334353637383930313233343536373839303132";
$gateway = GatewayFactory::createInstance($secureKey);

try {
    $merchantId = 'A1029DTmM7';
    $orderNo = '12345677';
    $returnUrl = 'http://localhost:8000/gateway-return.php';
    $description = 'Shopping at myStore.com (Lenovo ThinkPad Edge E540, Shipping with PPL)';

    $purchase = new \Omnipay\Csob\Purchase($merchantId, $orderNo, $returnUrl, $description);
    $purchase->setCart([
        new \Omnipay\Csob\CartItem("Notebook", 1, 1500000, "Lenovo ThinkPad Edge E540..."),
        new \Omnipay\Csob\CartItem("Shipping", 1, 0, "PPL"),
    ]);

    /** @var \Omnipay\Csob\Message\ProcessPaymentResponse $response */
    $response = $gateway->purchase($purchase->toArray())->send();

    // Payment init OK, redirect to the payment gateway
    echo $response->getRedirectUrl();
} catch (\Exception $e) {
    dump((string)$e);
}
```

\#Notes

There is also list of 3rd party [fake gateways](http://epaymentsimulator.monogram.sk/), but HMAC version is not present.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

3289d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ef9d9b4f18ff559cf0dfecccd8593840b04c26c09a95a396d8cdab865aba127?d=identicon)[bileto](/maintainers/bileto)

---

Top Contributors

[![BAGR](https://avatars.githubusercontent.com/u/718194?v=4)](https://github.com/BAGR "BAGR (4 commits)")[![jakubriedl](https://avatars.githubusercontent.com/u/2728690?v=4)](https://github.com/jakubriedl "jakubriedl (3 commits)")[![michalsanger](https://avatars.githubusercontent.com/u/2528846?v=4)](https://github.com/michalsanger "michalsanger (3 commits)")[![stekycz](https://avatars.githubusercontent.com/u/865447?v=4)](https://github.com/stekycz "stekycz (1 commits)")

---

Tags

omnipaytatrabank-drivertatrabankapaymentgatewaypaymerchantomnipaypurchasetatrabank

### Embed Badge

![Health badge](/badges/bileto-omnipay-tatrabank/health.svg)

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

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