PHPackages                             hakito/cakephp-stuzza-eps-banktransfer-plugin - 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. hakito/cakephp-stuzza-eps-banktransfer-plugin

ActiveCakephp-plugin[Payment Processing](/categories/payments)

hakito/cakephp-stuzza-eps-banktransfer-plugin
=============================================

CakePhp Plugin for EPS bank transfer payments

v5.0(2y ago)0267GPL-2.0PHP

Since Sep 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/hakito/CakePHP-EpsBankTransfer-Plugin)[ Packagist](https://packagist.org/packages/hakito/cakephp-stuzza-eps-banktransfer-plugin)[ Docs](https://github.com/hakito/CakePHP-EpsBankTransfer-Plugin)[ RSS](/packages/hakito-cakephp-stuzza-eps-banktransfer-plugin/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (7)Dependencies (4)Versions (11)Used By (0)

[![Build Status](https://camo.githubusercontent.com/3b0714b0e33f7a83f67273b6275a033b75bce56b9a2f25f6696872e08cb6d535/68747470733a2f2f6170702e7472617669732d63692e636f6d2f68616b69746f2f43616b655048502d45707342616e6b5472616e736665722d506c7567696e2e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/hakito/CakePHP-EpsBankTransfer-Plugin)[![Latest Stable Version](https://camo.githubusercontent.com/c99358d59675d019f32c1300e31247efe43477dff1f98bd77f35d1cd2e17e772/68747470733a2f2f706f7365722e707567782e6f72672f68616b69746f2f63616b657068702d7374757a7a612d6570732d62616e6b7472616e736665722d706c7567696e2f762f737461626c652e737667)](https://packagist.org/packages/hakito/cakephp-stuzza-eps-banktransfer-plugin) [![Total Downloads](https://camo.githubusercontent.com/d99c804f1e8d2c379306fc148d061cdae197a341e18f5974bebb37f40f424d75/68747470733a2f2f706f7365722e707567782e6f72672f68616b69746f2f63616b657068702d7374757a7a612d6570732d62616e6b7472616e736665722d706c7567696e2f646f776e6c6f6164732e737667)](https://packagist.org/packages/hakito/cakephp-stuzza-eps-banktransfer-plugin) [![Latest Unstable Version](https://camo.githubusercontent.com/b402c311a63d39c1e0582e2f0ad15eebc8c40bf71b8eaa161065919bfec38424/68747470733a2f2f706f7365722e707567782e6f72672f68616b69746f2f63616b657068702d7374757a7a612d6570732d62616e6b7472616e736665722d706c7567696e2f762f756e737461626c652e737667)](https://packagist.org/packages/hakito/cakephp-stuzza-eps-banktransfer-plugin) [![License](https://camo.githubusercontent.com/6be58bd48b9d44d82ac2401686173b302e3a4dde37b8f056d5da2f1e7d3fa374/68747470733a2f2f706f7365722e707567782e6f72672f68616b69746f2f63616b657068702d7374757a7a612d6570732d62616e6b7472616e736665722d706c7567696e2f6c6963656e73652e737667)](https://packagist.org/packages/hakito/cakephp-stuzza-eps-banktransfer-plugin)

CakePHP-EpsBankTransfer-Plugin
==============================

[](#cakephp-epsbanktransfer-plugin)

CakePHP 4.x plugin

Installation
============

[](#installation)

Using composer
--------------

[](#using-composer)

If you are using composer simply add the plugin using the command

```
composer require hakito/cakephp-stuzza-eps-banktransfer-plugin
```

Without composer
----------------

[](#without-composer)

Download the plugin to app/Plugin/EpsBankTransfer. Also download Add a PSR-4 compatible autoloader to your bootstrap.

Load the plugin
---------------

[](#load-the-plugin)

Load the plugin in your bootstrap:

```
public function bootstrap()
{
    // Call parent to load bootstrap from files.
    parent::bootstrap();

    $this->addPlugin(\EpsBankTransfer\Plugin::class, ['routes' => true]);
}
```

Confguration
============

[](#confguration)

In your app.local.php add an entry for EpsBankTransfer

```
[
    'EpsBankTransfer',
    [
        // required parameters
        'userid' => 'AKLJS231534',           // Eps "Händler" id
        'secret' => 'topSecret',             // Secret for authentication
        'iban' => 'AT611904300234573201',    // IBAN code of bank account where money will be sent to
        'bic' => 'GAWIATW1XXX',              // BIC code of bank account where money will be sent to
        'account_owner' => 'John Q. Public', // Name of the account owner where money will be sent to

        // Encryption key for sending encrypted remittance identifier as encrypted string
        'encryptionKey' => 'A_SECRET_KEY_MUST_BE_32_BYTES_LONG',

        //// optional parameters
        //'ObscuritySuffixLength' => 8,             // Number of hash chars appended to remittance identifier
        //'ObscuritySeed'  => 'SOME RANDOM STRING', // Seed for the random remittance identifier suffix. REQUIRED when ObscuritySuffixLength > 0 provided
        //'TestMode' => true                        // Use EPS test mode URL endpoint
    ]
];
```

Logs
----

[](#logs)

If you want to collect the log stream add this entry to your log configuration in app\_local.php

```
    'Log' =>
    [
        'eps' =>
        [
            'className' => FileLog::class,
            'path' => LOGS,
            'file' => 'eps',
            'scopes' => ['EpsBankTransfer'],
            'levels' => ['warning', 'error', 'critical', 'alert', 'emergency', 'info', 'debug'],
        ],
    ]
```

Usage
=====

[](#usage)

In your payment handling controller:

```
    // Load the component
    public function initialize(): void
    {
        parent::initialize();
        $this->loadComponent('EpsBankTransfer.Eps');
    }

    // Sample checkout
    private function _checkoutEPS($orderId)
    {
        // Add all articles
        $this->Eps->AddArticle('Magic dragon', $quantity, $priceInCents);

        // You might also want to add shipping agio as article
        $this->Eps->AddArticle('Shipping agio', 1, $shippingAgioInCents);

        // remittanceIdentifier could be your shopping card id
        // okUrl is the return url if payment is successful
        // nOkUrl is the return url if payment failed / canceled
        // BIC of the bank from GetBanksArray
        $this->Eps->PaymentRedirect($remittanceIdentifier, $okUrl, $nOkUrl, $bic);
    }
```

Event handlers
--------------

[](#event-handlers)

You must implement at least the following eventhandlers:

### EpsBankTransfer.VitalityCheck

[](#epsbanktransfervitalitycheck)

```
\Cake\Event\EventManager::instance()->on('EpsBankTransfer.VitalityCheck',
function ($event, $args)
{
  // $args =
  // [
  //   'raw' => {string},                  // Raw XML content
  //   'vitalityCheckDetails' => {object}, // Instance of at\externet\eps_bank_transfer\VitalityCheckDetails
  // ]

  return ['handled' => true]; // You have to set this otherwise the EPS call is not successful
});
```

### EpsBankTransfer.Confirmation', $this

[](#epsbanktransferconfirmation-this)

```
\Cake\Event\EventManager::instance()->on('EpsBankTransfer.Confirmation',
function ($event, $args)
{
  // $args =
  // [
  //   'raw' => {string},                     // Raw XML content
  //   'bankConfirmationDetails' => {object}, // Instance of at\externet\eps_bank_transfer\BankConfirmationDetails
  // ]

  return ['handled' => true]; // You have to set this otherwise the EPS call is not successful
});
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

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

Recently: every ~323 days

Total

10

Last Release

855d ago

Major Versions

v1.1 → v2.02019-11-11

v2.0 → v3.02020-06-20

v3.1 → v4.02020-07-05

v4.5 → v5.02024-01-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/1c059057edc332fe31671c634307bc2d401fb1dbbc0b5e76c1a462daeafb987a?d=identicon)[hakito](/maintainers/hakito)

---

Top Contributors

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

---

Tags

cakephppaymentsepsbank transferstuzza

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hakito-cakephp-stuzza-eps-banktransfer-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/hakito-cakephp-stuzza-eps-banktransfer-plugin/health.svg)](https://phpackages.com/packages/hakito-cakephp-stuzza-eps-banktransfer-plugin)
```

###  Alternatives

[amzn/amazon-pay-sdk-php

Amazon Pay SDK (PHP)

20512.1M3](/packages/amzn-amazon-pay-sdk-php)[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

650975.6k11](/packages/unicodeveloper-laravel-paystack)[ignited/laravel-omnipay

Integrates Omnipay with Laravel and provides an easy configuration.

5211.1M12](/packages/ignited-laravel-omnipay)[recurly/recurly-client

The PHP client library for the Recurly API

1736.3M7](/packages/recurly-recurly-client)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

768.0M9](/packages/chargebee-chargebee-php)[amzn/amazon-pay-api-sdk-php

Amazon Pay API SDK (PHP)

505.1M9](/packages/amzn-amazon-pay-api-sdk-php)

PHPackages © 2026

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