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

126PHPCI passing

Since Jun 30Pushed 3w 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 today

READMEChangelogDependenciesVersions (5)Used By (0)

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

[](#maho-netseasy)

[![Maho Commerce](https://camo.githubusercontent.com/b6b18863bd9be2e126f1d0153283cb2c819a84aaf70031e8b7587a9faedeebcb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61686f5f436f6d6d657263652d6d6f64756c652d6f72616e6765)](https://camo.githubusercontent.com/b6b18863bd9be2e126f1d0153283cb2c819a84aaf70031e8b7587a9faedeebcb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d61686f5f436f6d6d657263652d6d6f64756c652d6f72616e6765)[![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)[![PHPStan Level](https://camo.githubusercontent.com/ff3c7f8c8667ce643f47e74532748f673482a5f95d7d4269f925f2eebbe5117e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e)](https://camo.githubusercontent.com/ff3c7f8c8667ce643f47e74532748f673482a5f95d7d4269f925f2eebbe5117e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d6c6576656c253230382d627269676874677265656e)

**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

25

—

LowBetter than 35% of packages

Maintenance62

Regular maintenance activity

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 82.1% 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 (23 commits)")[![maho-organization-controller[bot]](https://avatars.githubusercontent.com/u/176492716?v=4)](https://github.com/maho-organization-controller[bot] "maho-organization-controller[bot] (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

ecommercemahomaho-modulenetseasynexipayment-integration

### 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

[msilabs/bkash

bKash Payment Gateway API for Laravel Framework.

181.2k](/packages/msilabs-bkash)

PHPackages © 2026

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