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

1.14.2(3mo ago)11432HTMLCI failing

Since Dec 19Pushed 3mo 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 main Synced 1mo ago

READMEChangelogDependencies (2)Versions (14)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

40

—

FairBetter than 88% of packages

Maintenance80

Actively maintained with recent releases

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.4% 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 ~4 days

Total

9

Last Release

115d ago

### Community

Maintainers

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

---

Top Contributors

[![brtkwr](https://avatars.githubusercontent.com/u/2181426?v=4)](https://github.com/brtkwr "brtkwr (55 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

[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[adyen/module-hyva-checkout

Adyen Integration with Hyva Checkout

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

PHPackages © 2026

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