Magento 2 payment module for Comfino — Polish payment gateway offering installment payments, buy now pay later (BNPL), and business financing solutions.
- Magento: 2.4.4 or higher (Magento 2.3.7+ / 2.4.0–2.4.3 → use v3.1.0 ZIP instead)
- PHP: 8.1 or higher
- PHP extensions: ctype, json, sodium, zlib
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:flushcomposer 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:flushNote for Hyvä Checkout clients:
hyva-themes/magento2-hyva-checkoutis distributed via the private Hyvä repository. Add{"type":"composer","url":"https://hyva.io/packages/"}to your project'srepositoriesbefore runningcomposer require.
See Installation Guide (English) or Installation Guide (Polish).
- Navigate to: Stores → Configuration → Sales → Payment Methods → Comfino.
- Enable the module.
- Enter your API key (provided by your Comfino representative).
- Configure widget and payment options.
- Save configuration.
If you previously installed via ZIP, see Migration Guide for upgrade instructions.
Version 4.0.0+ includes full support for Hyvä themes using an iframe-based architecture.
# Install dependencies
./bin/composer install
# Run tests
./bin/phpunit
# Run with coverage
XDEBUG_MODE=coverage ./bin/phpunit --coverage-html coverageTests run without a Magento installation — tests/bootstrap.php provides Magento stubs.
- E-mail: pomoc@comfino.pl
- Documentation (English): comfino.pl/plugins/Magento/en
- Documentation (Polish): comfino.pl/plugins/Magento/pl
- Issues: GitHub Issues