PHPackages                             comfino/magento2 - 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. comfino/magento2

ActiveMagento2-module[Payment Processing](/categories/payments)

comfino/magento2
================

Magento 2 payment module for Comfino Payment Gateway - installment payments, buy now pay later (BNPL), and business financing solutions.

4.0.0(yesterday)04↑2900%1OSL-3.0PHP &gt;=8.1

Since Jul 22Compare

[ Source](https://github.com/comfino/magento2)[ Packagist](https://packagist.org/packages/comfino/magento2)[ Docs](https://github.com/comfino/magento2)[ RSS](/packages/comfino-magento2/feed)WikiDiscussions Synced today

READMEChangelog (1)Dependencies (17)Versions (2)Used By (1)

[ ![Comfino](assets/comfino_logo.svg)](https://developers.comfino.pl)Comfino Payment Gateway for Magento 2
=====================================

[](#comfino-payment-gateway-for-magento-2)

[![Latest Version](https://camo.githubusercontent.com/fe67f0da7fff9ce7fbf459aa497cf001f26e485775cf7fd578352995a56432ff/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f636f6d66696e6f2f6d6167656e746f322e737667)](https://github.com/comfino/magento2/releases)[![PHP Version](https://camo.githubusercontent.com/cb11481dde6fb086e48b1d062c5d5ec1825a79286d28dc4ee9cd20e91cfb01f4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f636f6d66696e6f2f6d6167656e746f322f7068702e737667)](https://packagist.org/packages/comfino/magento2)[![Build Status](https://github.com/comfino/magento2/actions/workflows/tests.yml/badge.svg)](https://github.com/comfino/magento2/actions/workflows/tests.yml)[![Software License](https://camo.githubusercontent.com/5ef060514dae37cb4e9001dd92a79a4999e6e0f70deee534085a266091a338ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4f534c2d2d332e302d6f72616e67652e737667)](LICENSE)[![Total Downloads](https://camo.githubusercontent.com/7d221e6673cdf2bab53d5a7ca6c7db217d712642054752900b40682771366dec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6d66696e6f2f6d6167656e746f322e737667)](https://packagist.org/packages/comfino/magento2)[![API Documentation](https://camo.githubusercontent.com/b2e7feb6e6f17d534d0fcadc30e1f4d74bd06681abe353feb46bdb3741ea02b6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4150492d646f63756d656e746174696f6e2d356139653333)](https://developers.comfino.pl)

Magento 2 payment module for [Comfino](https://comfino.pl/) — Polish payment gateway offering installment payments, buy now pay later (BNPL), and business financing solutions.

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

[](#requirements)

- **Magento**: 2.4.4 or higher (Magento 2.3.7+ / 2.4.0–2.4.3 → use [v3.1.0 ZIP](https://github.com/comfino/Magento-2.3/releases) instead)
- **PHP**: 8.1 or higher
- **PHP extensions**: ctype, json, sodium, zlib

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

[](#installation)

### Via Composer (recommended)

[](#via-composer-recommended)

```
composer require comfino/magento2:^4.0
bin/magento module:enable Comfino_ComfinoGateway Comfino_SdkForMagento2
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush
```

### Hyvä Checkout support (optional)

[](#hyvä-checkout-support-optional)

```
composer require comfino/magento2-hyva-checkout:^1.0
bin/magento module:enable Comfino_ComfinoGatewayHyvaCheckout
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
```

> **Note for Hyvä Checkout clients:** `hyva-themes/magento2-hyva-checkout` is distributed via the private Hyvä repository. Add `{"type":"composer","url":"https://hyva.io/packages/"}` to your project's `repositories` before running `composer require`.

### Manual installation (legacy — Magento 2.3.x / 2.4.0–2.4.3 only)

[](#manual-installation-legacy--magento-23x--240243-only)

See [Installation Guide (English)](docs/comfino.en.md) or [Installation Guide (Polish)](docs/comfino.pl.md).

Configuration
-------------

[](#configuration)

1. Navigate to: **Stores → Configuration → Sales → Payment Methods → Comfino**.
2. Enable the module.
3. Enter your API key (provided by your Comfino representative).
4. Configure widget and payment options.
5. Save configuration.

Migration from ZIP installation
-------------------------------

[](#migration-from-zip-installation)

If you previously installed via ZIP, see [Migration Guide](MIGRATION.md) for upgrade instructions.

Hyvä Theme support
------------------

[](#hyvä-theme-support)

Version 4.0.0+ includes full support for Hyvä themes using an iframe-based architecture.

Development
-----------

[](#development)

### Local setup

[](#local-setup)

```
# Install dependencies
./bin/composer install

# Run tests
./bin/phpunit

# Run with coverage
XDEBUG_MODE=coverage ./bin/phpunit --coverage-html coverage
```

Tests run without a Magento installation — `tests/bootstrap.php` provides Magento stubs.

Support
-------

[](#support)

- **E-mail:**
- **Documentation (English):** [comfino.pl/plugins/Magento/en](https://comfino.pl/plugins/Magento/en)
- **Documentation (Polish):** [comfino.pl/plugins/Magento/pl](https://comfino.pl/plugins/Magento/pl)
- **Issues:** [GitHub Issues](https://github.com/comfino/Magento-2.3/issues)

License
-------

[](#license)

[Open Software License (OSL 3.0)](LICENSE)

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83001403?v=4)[Artos Rakshasa](/maintainers/akozubskicr)[@akozubskicr](https://github.com/akozubskicr)

---

Tags

paymentgatewaymagento2buy now pay laterpolandinstallmentsbnplcomfinofinancingdeferred payment

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/comfino-magento2/health.svg)

```
[![Health](https://phpackages.com/badges/comfino-magento2/health.svg)](https://phpackages.com/packages/comfino-magento2)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1131.9M16](/packages/mollie-magento2)[buckaroo/magento2

Buckaroo Magento 2 extension

32420.3k8](/packages/buckaroo-magento2)[amzn/amazon-pay-magento-2-module

Official Magento2 Plugin to integrate with Amazon Pay

108531.2k1](/packages/amzn-amazon-pay-magento-2-module)[run-as-root/magento2-prometheus-exporter

Magento2 Prometheus Exporter

68357.9k](/packages/run-as-root-magento2-prometheus-exporter)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)

PHPackages © 2026

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