承接 mahocommerce/module-netseasy 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mahocommerce/module-netseasy

Composer 安装命令:

composer require mahocommerce/module-netseasy

包简介

Nexi Nets Easy payment gateway integration for Maho

README 文档

README

PHP Syntax PHPStan PHP CS Fixer Rector Composer Validate Line Endings

License PHP Maho Commerce

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

  • Two checkout flows — Embedded (on-site widget) or Hosted (redirect to Nets payment page)
  • Authorize & 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

Installation

composer require mahocommerce/module-netseasy

Clear the cache after installation:

php maho cache:flush

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:

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

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

mahocommerce/module-netseasy 适用场景与选型建议

mahocommerce/module-netseasy 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 02 月 19 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 mahocommerce/module-netseasy 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 mahocommerce/module-netseasy 我们能提供哪些服务?
定制开发 / 二次开发

基于 mahocommerce/module-netseasy 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 33
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2026-02-19