Search by

comfino / magento2-hyva-checkout

akozubskicr

Hyvä Checkout compatibility module for ComfinoPay Payment Gateway.

Package info

github.com/comfino/magento2-hyva-checkout

Type:magento2-module

pkg:composer/comfino/magento2-hyva-checkout

Statistics

Installs: 84

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2026-11-20 11:20 UTC

This package is auto-updated.

Last update: 2026-11-20 11:21:45 UTC


README

ComfinoPay

ComfinoPay Payment Gateway — Hyvä Checkout Module

Latest Version PHP Version Build Status Software License Total Downloads API Documentation

Hyvä Checkout compatibility module for the ComfinoPay Payment Gateway for Magento 2 — adds PlaceOrderService and an Alpine.js paywall integration so ComfinoPay works correctly in the Hyvä Checkout flow.

Requirements

  • Magento: 2.4.4 or higher
  • PHP: 8.1 or higher
  • Hyvä Checkout: 1.0.5 or higher (^1.0.5)
  • ComfinoPay Payment Gateway: comfino/magento2 ^4.1

Installation

Via Composer (recommended)

Note: 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.

Installing both the base gateway and the Hyvä Checkout compatibility module together:

composer require comfino/magento2 comfino/magento2-hyva-checkout
bin/magento module:enable Comfino_ComfinoGateway Comfino_SdkForMagento2 Comfino_ComfinoGatewayHyvaCheckout
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

If the base ComfinoPay module is already installed, just add this one:

composer require comfino/magento2-hyva-checkout
bin/magento module:enable Comfino_ComfinoGatewayHyvaCheckout
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento cache:flush

Development

Local setup

# Install dependencies
./bin/composer install

# Run tests
./bin/phpunit

# Run with coverage
./bin/phpunit --coverage-html coverage

# Check code style (MEQP2 + PSR-12)
./bin/composer cs

# Auto-fix style violations
./bin/composer cs-fix

# Run PHPStan static analysis (level 5)
./bin/phpstan analyse

Tests run without a Magento installation — Test/bootstrap.php provides Hyvä Checkout stubs.

Support

Changelog

See CHANGELOG.md for recent changes.

License

Open Software License (OSL 3.0)