PHPackages                             mahocommerce/module-netseasy - 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. mahocommerce/module-netseasy

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

mahocommerce/module-netseasy
============================

Nexi Nets Easy payment gateway integration for Maho

02PHPCI passing

Since Feb 19Pushed 2mo agoCompare

[ Source](https://github.com/MahoCommerce/module-netseasy)[ Packagist](https://packagist.org/packages/mahocommerce/module-netseasy)[ RSS](/packages/mahocommerce-module-netseasy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Maho NetsEasy
=============

[](#maho-netseasy)

[![PHP Syntax](https://github.com/MahoCommerce/module-netseasy/actions/workflows/syntax-php.yml/badge.svg)](https://github.com/MahoCommerce/module-netseasy/actions/workflows/syntax-php.yml)[![PHPStan](https://github.com/MahoCommerce/module-netseasy/actions/workflows/phpstan.yml/badge.svg)](https://github.com/MahoCommerce/module-netseasy/actions/workflows/phpstan.yml)[![PHP CS Fixer](https://github.com/MahoCommerce/module-netseasy/actions/workflows/php-cs-fixer.yml/badge.svg)](https://github.com/MahoCommerce/module-netseasy/actions/workflows/php-cs-fixer.yml)[![Rector](https://github.com/MahoCommerce/module-netseasy/actions/workflows/rector.yml/badge.svg)](https://github.com/MahoCommerce/module-netseasy/actions/workflows/rector.yml)[![Composer Validate](https://github.com/MahoCommerce/module-netseasy/actions/workflows/composer.yml/badge.svg)](https://github.com/MahoCommerce/module-netseasy/actions/workflows/composer.yml)[![Line Endings](https://github.com/MahoCommerce/module-netseasy/actions/workflows/line-endings.yml/badge.svg)](https://github.com/MahoCommerce/module-netseasy/actions/workflows/line-endings.yml)

[![License](https://camo.githubusercontent.com/bf8fb4e29810a9fc189ac77817d64e700c8cdad65219aec8af767d3413542703/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4f534c2d2d332e302d626c7565)](https://camo.githubusercontent.com/bf8fb4e29810a9fc189ac77817d64e700c8cdad65219aec8af767d3413542703/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4f534c2d2d332e302d626c7565)[![PHP](https://camo.githubusercontent.com/304040cd133992ef00119f16bf25c890678ce0c5b9898eb2b53349394e39707e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e332d383839324246)](https://camo.githubusercontent.com/304040cd133992ef00119f16bf25c890678ce0c5b9898eb2b53349394e39707e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e332d383839324246)[![Maho Commerce](https://camo.githubusercontent.com/b6b18863bd9be2e126f1d0153283cb2c819a84aaf70031e8b7587a9faedeebcb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61686f5f436f6d6d657263652d6d6f64756c652d6f72616e6765)](https://camo.githubusercontent.com/b6b18863bd9be2e126f1d0153283cb2c819a84aaf70031e8b7587a9faedeebcb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61686f5f436f6d6d657263652d6d6f64756c652d6f72616e6765)

**Nexi Nets Easy** (formerly DIBS) payment gateway integration for [Maho Commerce](https://mahocommerce.com).

Accept payments via cards, wallets, and local payment methods across the Nordics and Europe — directly in your Maho store.

Features
--------

[](#features)

- **Two checkout flows** — Embedded (on-site widget) or Hosted (redirect to Nets payment page)
- **Authorize &amp; Capture** — Choose between authorize-only or immediate capture
- **Full order lifecycle** — Capture, refund (partial and full), and void operations from the Maho admin
- **Webhook support** — Real-time async notifications for payment events
- **Line item details** — Optionally send cart items to Nets for enhanced payment pages
- **Multi-currency** — Supports DKK, SEK, NOK, EUR, USD, GBP, CHF, and PLN
- **Multi-locale** — Nets checkout widget automatically displayed in the customer's language (15 locales)
- **Merchant consumer data** — Pre-fill customer info from Maho or let Nets collect it
- **Country restrictions** — Allow payments from all or specific countries
- **Debug logging** — Toggle detailed API logging to `var/log/netseasy.log`

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

[](#requirements)

- PHP &gt;= 8.3
- Maho Commerce
- A [Nexi Nets Easy](https://www.nexigroup.com/en/solutions/e-commerce/) merchant account

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

[](#installation)

```
composer require mahocommerce/module-netseasy

```

Clear the cache after installation:

```
php maho cache:flush

```

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

[](#configuration)

Navigate to **System &gt; Configuration &gt; Payment Methods &gt; Nets Easy** in the Maho admin panel.

SettingDescriptionDefault**Enabled**Activate the payment methodNo**Title**Payment method name shown at checkoutNets Easy**Environment**Test or Live modeTest**Test Secret Key**API secret key for the test environment—**Test Checkout Key**Checkout key for the test environment—**Live Secret Key**API secret key for the live environment—**Live Checkout Key**Checkout key for the live environment—**Checkout Flow**Embedded (on-site) or Hosted (redirect)Embedded**Payment Action**Authorize Only or Authorize and CaptureAuthorize Only**Terms URL**Link to your store's terms and conditions—**Webhook Secret**Token to verify incoming webhook requests from Nets—**Merchant Handles Consumer Data**Send customer data from the store instead of letting Nets collect itYes**Send Order Items**Include line item details in the payment requestYes**Applicable Countries**All countries or specific countries onlyAll**Minimum Order Total**Minimum order amount for this method—**Maximum Order Total**Maximum order amount for this method—**Debug**Log API requests/responses to `var/log/netseasy.log`No**Sort Order**Display position among payment methods100Webhooks
--------

[](#webhooks)

To receive real-time payment notifications, configure webhooks in your Nets Easy merchant portal with the following URL:

```
https://your-store.com/netseasy/webhook/index

```

Set the **Authorization** header to match the **Webhook Secret** configured in Maho.

The module handles these webhook events:

- `payment.checkout.completed`
- `payment.charge.created.v2`
- `payment.refund.completed`
- `payment.cancel.created`
- `payment.reservation.created.v2`

Checkout Flows
--------------

[](#checkout-flows)

### Embedded Checkout

[](#embedded-checkout)

The customer stays on your store. A JavaScript widget is loaded inline on the checkout page, providing a seamless payment experience without redirects.

### Hosted Payment Page

[](#hosted-payment-page)

The customer is redirected to a Nets-hosted payment page. After completing or cancelling payment, they are returned to your store.

How It Works
------------

[](#how-it-works)

1. **Order placement** — A Nets payment session is created via the API and a tracking record is stored in the `netseasy_payment` table
2. **Payment** — The customer completes payment via the embedded widget or hosted page
3. **Return** — The customer is returned to the store, and the payment status is verified via the API
4. **Webhooks** — Asynchronous notifications confirm the final payment state
5. **Admin operations** — Capture, refund, and void are available from the order view in the admin panel

Supported Currencies
--------------------

[](#supported-currencies)

DKK, SEK, NOK, EUR, USD, GBP, CHF, PLN

Checkout Widget Locales
-----------------------

[](#checkout-widget-locales)

The Nets Easy checkout widget (embedded or hosted) is automatically displayed in the customer's language based on the store locale. Supported widget languages:

Swedish, Norwegian, Danish, Finnish, German (DE/AT/CH), English (GB/US), Dutch, French (FR/BE), Spanish, Italian, Polish

License
-------

[](#license)

This module is licensed under the [Open Software License v3.0](LICENSE.txt).

Links
-----

[](#links)

- [Maho Commerce](https://mahocommerce.com)
- [Nexi Nets Easy Documentation](https://developer.nexigroup.com/nexi-checkout/en-EU/docs/)
- [Nexi Nets Easy API Reference](https://developer.nexigroup.com/nexi-checkout/en-EU/api/)

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance56

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/262e16fb4a6bbef60ac0fd0172f5586e2c24effcc80a2138e662fb0316083c4c?d=identicon)[fballiano](/maintainers/fballiano)

---

Top Contributors

[![fballiano](https://avatars.githubusercontent.com/u/909743?v=4)](https://github.com/fballiano "fballiano (10 commits)")

### Embed Badge

![Health badge](/badges/mahocommerce-module-netseasy/health.svg)

```
[![Health](https://phpackages.com/badges/mahocommerce-module-netseasy/health.svg)](https://phpackages.com/packages/mahocommerce-module-netseasy)
```

###  Alternatives

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/dummy

Dummy driver for the Omnipay payment processing library

271.2M33](/packages/omnipay-dummy)

PHPackages © 2026

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