Download the PHP package mahocommerce/module-netseasy without Composer

On this page you can find all versions of the php package mahocommerce/module-netseasy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-netseasy

Maho NetsEasy

Maho Commerce License PHP PHPStan Level

Nexi Nets Easy (formerly DIBS) payment gateway integration for Maho Commerce.

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

Features

Requirements

Installation

Clear the cache after installation:

Configuration

Navigate to System > Configuration > Payment Methods > Nets Easy in the Maho admin panel.

Setting Description Default
Enabled Activate the payment method No
Title Payment method name shown at checkout Nets Easy
Environment Test or Live mode Test
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 Capture Authorize 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 it Yes
Send Order Items Include line item details in the payment request Yes
Applicable Countries All countries or specific countries only All
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 methods 100

Webhooks

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

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

The module handles these webhook events:

Checkout Flows

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

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

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

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

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

This module is licensed under the Open Software License v3.0.

Links


All versions of module-netseasy with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mahocommerce/module-netseasy contains the following files

Loading the files please wait ...