PHPackages                             two-inc/magento2-hyva-checkout - 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. two-inc/magento2-hyva-checkout

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

two-inc/magento2-hyva-checkout
==============================

Two Inc Payment Method in Hyva Checkout

2.0.1(3d ago)15551HTML

Since Dec 19Pushed 1w ago3 watchersCompare

[ Source](https://github.com/two-inc/magento-hyva-extension)[ Packagist](https://packagist.org/packages/two-inc/magento2-hyva-checkout)[ RSS](/packages/two-inc-magento2-hyva-checkout/feed)WikiDiscussions staging Synced 2d ago

READMEChangelogDependencies (4)Versions (19)Used By (0)

Two Gateway Hyva Extension
==========================

[](#two-gateway-hyva-extension)

- **Two Gateway Module Version**: 1.14.2

Introduction
------------

[](#introduction)

This document provides instructions for installing the Two Gateway Payment Method module with Hyvä Checkout compatibility for Magento 2. This module ensures a seamless payment experience for stores using the Hyvä frontend.

Compatibility
-------------

[](#compatibility)

ComponentVersionLinkMagento2.4.x[Release Notes](https://experienceleague.adobe.com/en/docs/commerce-operations/release/notes/magento-open-source/2-4-8)Two Gateway Module^1.13.1[two-inc/magento-plugin](https://github.com/two-inc/magento-plugin)Hyvä Checkout^1.3[Hyvä Checkout](https://www.hyva.io/hyva-checkout.html)Prerequisites
-------------

[](#prerequisites)

- Hyvä Theme and Hyvä Checkout module installed.
- Access to the Hyvä private composer repository.
- Node.js and Tailwind dependencies installed for building CSS.

Installation Steps
------------------

[](#installation-steps)

### 1. Install Hyvä Theme &amp; Checkout (if not already installed)

[](#1-install-hyvä-theme--checkout-if-not-already-installed)

Use composer to install the necessary Hyvä packages:

```
composer config repositories.private-packagist composer {repositories path}
composer config --auth http-basic.hyva-themes.repo.packagist.com token {token}
composer require hyva-themes/magento2-default-theme
composer require hyva-themes/magento2-hyva-checkout
```

### 2. Configure Hyvä Checkout

[](#2-configure-hyvä-checkout)

Configure basic settings via the Magento Admin: `Admin > Stores > Settings > Configuration > Hyvä Themes > Checkout`

### 3. Install Two Gateway Hyva Module

[](#3-install-two-gateway-hyva-module)

1. Download and extract the module's ZIP package.
2. Connect to your Magento server.
3. Upload the module files to `app/code/Two/GatewayHyva`.

### 4. Run Magento Commands

[](#4-run-magento-commands)

Execute the following commands from your Magento root directory:

```
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
```

### 5. Generate Hyvä Configuration

[](#5-generate-hyvä-configuration)

Run the Hyvä configuration generator:

```
php bin/magento hyva:config:generate
```

### 6. Build Tailwind CSS (Optional: If using custom styles)

[](#6-build-tailwind-css-optional-if-using-custom-styles)

**For custom Hyvä themes:**

```
npm --prefix app/design/frontend///web/tailwind run ci
npm --prefix app/design/frontend///web/tailwind run build-prod
```

**For the default Hyvä theme:**

```
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind run ci
npm --prefix vendor/hyva-themes/magento2-default-theme/web/tailwind run build-prod
```

### 7. Configure Two Gateway

[](#7-configure-two-gateway)

Set up your Two Gateway credentials and settings in the Magento Admin: `Admin > Stores > Configuration > Two Gateway`

Testing
-------

[](#testing)

1. Check the module is enabled: `php bin/magento module:status | grep Two_GatewayHyva`
2. Navigate to your store's frontend checkout page
3. Verify that the Two Gateway payment method is visible
4. Place a test order to ensure everything is working correctly

Troubleshooting
---------------

[](#troubleshooting)

- Ensure Hyvä theme is properly installed
- Check Magento logs: `var/log/system.log` and `var/log/exception.log`
- Verify CSP (Content Security Policy) settings if scripts are blocked
- Clear all caches after installation

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

[](#development)

For developers looking to extend or customize the Two Gateway Hyva module, follow these steps:

1. Install `direnv` and `uv` and configure `.envrc` file with `layout python`.
2. Install the required tools and dependencies:

```
direnv allow
uv tool install bumpver
uv tool install pre-commit
pre-commit install
```

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance99

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~40 days

Total

11

Last Release

3d ago

Major Versions

1.14.2 → 2.0.02026-07-01

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40845434?v=4)[Sean Chen](/maintainers/two)[@two](https://github.com/two)

---

Top Contributors

[![dgjlindsay](https://avatars.githubusercontent.com/u/36418630?v=4)](https://github.com/dgjlindsay "dgjlindsay (64 commits)")[![brtkwr](https://avatars.githubusercontent.com/u/2181426?v=4)](https://github.com/brtkwr "brtkwr (58 commits)")[![SalmanTwo](https://avatars.githubusercontent.com/u/119856921?v=4)](https://github.com/SalmanTwo "SalmanTwo (10 commits)")[![JeroenBoersma](https://avatars.githubusercontent.com/u/1163348?v=4)](https://github.com/JeroenBoersma "JeroenBoersma (7 commits)")

---

Tags

b2b-paymentsmagentoplugin

### Embed Badge

![Health badge](/badges/two-inc-magento2-hyva-checkout/health.svg)

```
[![Health](https://phpackages.com/badges/two-inc-magento2-hyva-checkout/health.svg)](https://phpackages.com/packages/two-inc-magento2-hyva-checkout)
```

###  Alternatives

[mollie/magento2-hyva-checkout

Hyvä Themes Checkout module for Mollie Payments

11240.0k](/packages/mollie-magento2-hyva-checkout)[adyen/module-hyva-checkout

Adyen Integration with Hyva Checkout

1068.2k](/packages/adyen-module-hyva-checkout)

PHPackages © 2026

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