PHPackages                             edofre/yii2-omnikassa - 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. edofre/yii2-omnikassa

ActiveYii2-extension[Payment Processing](/categories/payments)

edofre/yii2-omnikassa
=====================

Yii2 component for Rabobank omnikassa payments

V1.0.5(9y ago)134MITPHPPHP &gt;=5.5.0

Since Jun 10Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Edofre/yii2-omnikassa)[ Packagist](https://packagist.org/packages/edofre/yii2-omnikassa)[ Docs](https://github.com/edofre/yii2-omnikassa)[ RSS](/packages/edofre-yii2-omnikassa/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

Yii2 omnikassa component
========================

[](#yii2-omnikassa-component)

[![Latest Stable Version](https://camo.githubusercontent.com/2030b4ae06e618844e98acece3662983c762c240e185d198671a3e20ce163245/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d6f6d6e696b617373612f762f737461626c65)](https://packagist.org/packages/edofre/yii2-omnikassa)[![Total Downloads](https://camo.githubusercontent.com/90ab44eb7d2d9dd942b1746cde5b536376b79c7e9f5997080eb0f6196c7730e5/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d6f6d6e696b617373612f646f776e6c6f616473)](https://packagist.org/packages/edofre/yii2-omnikassa)[![Latest Unstable Version](https://camo.githubusercontent.com/298dcdbff101ff6f7b98f58260cac517abe7992968d92a82a596e7e263f9e589/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d6f6d6e696b617373612f762f756e737461626c65)](https://packagist.org/packages/edofre/yii2-omnikassa)[![License](https://camo.githubusercontent.com/3aebe80f07b49cb1f4f529ee96e166327d37a447b5feb351b586a7342a5c9e15/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d6f6d6e696b617373612f6c6963656e7365)](https://packagist.org/packages/edofre/yii2-omnikassa)[![composer.lock](https://camo.githubusercontent.com/d1a1f0fde401484ef8f69a64c8e8599b0292ac9e480f7c53cd6389b0038b0c1e/68747470733a2f2f706f7365722e707567782e6f72672f65646f6672652f796969322d6f6d6e696b617373612f636f6d706f7365726c6f636b)](https://packagist.org/packages/edofre/yii2-omnikassa)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

To install, either run

```
$ php composer.phar require edofre/yii2-omnikassa "V1.0.5"

```

or add

```
"edofre/yii2-omnikassa": "V1.0.5"

```

to the `require` section of your `composer.json` file.

Usage
-----

[](#usage)

### Add the components to the configuration, the following configuration is the test environment for omnikassa

[](#add-the-components-to-the-configuration-the-following-configuration-is-the-test-environment-for-omnikassa)

```
return [
	...
	'components'          => [
		'omniKassa'    => [
			'class'                => '\edofre\omnikassa\OmniKassa',
			'automaticResponse'    => false,
			'currencyCode'         => '978',
			'interfaceVersion'     => 'HP_1.0',
			'keyVersion'           => '1',
			'merchantId'           => '002020000000001',
			'paymentMeanBrandList' => 'IDEAL,VISA,MASTERCARD,MAESTRO',
			'secretKey'            => '002020000000001_KEY1',
			'testMode'             => true,
			'url'                  => 'https://payment-webinit.simu.omnikassa.rabobank.nl/paymentServlet',
		],
		...
	],
	...
];
```

### Create the PaymentRequest object and create a form

[](#create-the-paymentrequest-object-and-create-a-form)

```
$paymentRequest = new \edofre\omnikassa\PaymentRequest([
	'amount'               => 12354, // Amount in cents, 12345 = 123,45
	'orderId'              => 'your-order-id',
	'normalReturnUrl'      => \yii\helpers\Url::to(['site/return'], true),
	'transactionReference' => "your-transaction-reference",
]);
Yii::$app->omniKassa->prepareRequest($paymentRequest);
```

```

```

### Create the controller action you specified in the PaymentRequest and process the request

[](#create-the-controller-action-you-specified-in-the-paymentrequest-and-process-the-request)

```
public function actionReturn()
{
	$response = Yii::$app->omniKassa->processRequest();

	var_dump($response->attributes);
	var_dump('Pending', $response->isPending);
	var_dump('Successful', $response->isSuccessful);
	var_dump('Failure', $response->isFailure);
}
```

### Don't forgot to disable CSRF protection for this action as it is an external action

[](#dont-forgot-to-disable-csrf-protection-for-this-action-as-it-is-an-external-action)

```
public function beforeAction($action)
{
	if ($action->id == 'return') {
		$this->enableCsrfValidation = false;
	}

	return parent::beforeAction($action);
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

3

Last Release

3427d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/01cd9d2772b5c19c989c92093a092bd087524cee9629b0e715ccb4125a69f2e8?d=identicon)[edofre](/maintainers/edofre)

---

Top Contributors

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

---

Tags

rabobankomnikassa

### Embed Badge

![Health badge](/badges/edofre-yii2-omnikassa/health.svg)

```
[![Health](https://phpackages.com/badges/edofre-yii2-omnikassa/health.svg)](https://phpackages.com/packages/edofre-yii2-omnikassa)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[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)[omnipay/rabobank

Rabobank Omnikassa driver for the Omnipay payment processing library

1463.4k](/packages/omnipay-rabobank)[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)[dnetix/redirection

Library to connect with PlacetoPay Checkout service

17123.3k2](/packages/dnetix-redirection)

PHPackages © 2026

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