Nets Easy

Configure Nets Easy (Nexi) payment provider with Omnium for online payments.

Nets Easy Integration with Omnium

Omnium supports Nets Easy (formerly DIBS, now part of Nexi) for payment processing with the following features:

  • Authorize payments via hosted payment page
  • Capture payments (full or partial)
  • Cancel payments / release authorization
  • Credit/Refund payments with tax-aware handling
  • Update Merchant Reference after order creation
  • Get Details - Retrieve payment information from Nets Easy

Setup Instructions

Configuration Path

  1. Navigate to: Configuration > Settings > Payment > Payment Types > "..." > Add

  2. Fill out the required fields as outlined below.


Required Fields

FieldDescriptionValue
Unique Payment NameThe unique identifier for the Nets Easy payment method.NetsEasy
Payment ServiceThe name of the payment service used for this configuration.Netseasy
Provider NameSpecifies which provider to use.NetsEasy
Display NameThe name shown in checkout.Nets Easy or your preferred name
Terms URLURL to your terms and conditions (required by Nets Easy).https://yourdomain.com/terms
API TokenYour Nets Easy secret key (Client Secret).Your secret key from Nets Easy portal
Return URLURL to redirect customers after payment completion.https://yourdomain.com/payment/success
Base URLThe Nets Easy API endpoint URL.See Base URL Options
Vue TemplateThe template for payment method integration.netsEasy-payment

Base URL Options

EnvironmentBase URL
Test/Sandboxhttps://test.api.dibspayment.eu
Productionhttps://api.dibspayment.eu

Additional Configuration

SettingDescriptionDefault
Display in CartShow Nets Easy as a payment option in the cart interface.false
Get Details From ProviderEnable fetching real-time payment details from Nets Easy.false
Valid On MarketsRestrict to specific markets. Leave empty for all.All markets
Valid For StoresRestrict to specific stores. Leave empty for all.All stores

Supported Operations

OperationSupportedNotes
AuthorizeYesCreates hosted payment page
CaptureYesFull or partial capture with order lines
CancelYesCancel/release authorization
Release Remaining AuthYesRelease uncaptured portion
RefundYesTax-aware refunds with automatic rounding correction
Partial RefundYesItem-level refund support
Update Merchant ReferenceYesUpdate order reference in Nets Easy
Get DetailsYesRetrieve payment state and history

Order Lines Requirement

Nets Easy requires order lines for most operations:

  • Authorization - Order lines required
  • Capture - Order lines required (validated against capture amount)
  • Refund - Order lines required for item-level tracking

If order lines are missing or empty, the operation will fail with a validation error.


Special Features

Tax-Aware Refund Handling

When processing refunds, Omnium automatically handles tax calculations:

  1. Prorated Distribution - Refund amount is distributed proportionally across return items based on their extended price
  2. Tax Recalculation - For each credited line item, tax amounts are recalculated based on the tax rate
  3. Automatic Rounding Correction - Small discrepancies (less than 1 currency unit) between the sum of distributed amounts and the total refund are automatically adjusted

This ensures accurate tax reporting even for partial refunds.

Update Merchant Reference

After an order is created, you can update the merchant reference (order number) in Nets Easy. This is useful when the order number changes during processing, such as when converting from a cart to an order.

Webhook Events

Nets Easy sends webhook notifications for payment events. The following events are registered:

  • Payment reservation created
  • Payment reservation failed
  • Payment charge created
  • Payment charge failed
  • Payment refund completed
  • Payment refund failed

Amount Handling

Nets Easy uses integer amounts (minor units/cents):

CurrencyExample AmountNets Easy Value
NOK100.5010050
SEK250.0025000
EUR99.999999

Omnium handles the conversion automatically.


Capture Behavior

When capturing a payment:

  • Order lines are validated against the capture amount
  • The sum of order line amounts must match the capture amount
  • A Charge ID is returned and stored for refund operations
  • Partial captures are supported

Refund Behavior

When processing refunds:

  1. Return items are mapped to Nets Easy order lines
  2. Tax amounts are calculated separately for each line
  3. Shipment costs can be refunded as a separate line item
  4. Rounding discrepancies are automatically corrected

Refund Limitations

The refund amount cannot exceed the captured amount. Partial refunds are supported with item-level granularity.


Error Handling

Nets Easy errors are displayed on the order in the Errors section.

Common Errors

ErrorPossible CauseSolution
Authentication failedInvalid API Token (Client Secret)Verify secret key in Nets Easy portal
Order lines requiredMissing order lines on operationEnsure order lines are populated
Amount mismatchOrder lines sum doesn't match amountVerify order line calculations
Payment not foundInvalid transaction IDCheck transaction ID and environment

Limitations

  • Release Remaining Authorization: Nets Easy does not support releasing remaining authorizations independently from a charge. You'll need to capture or cancel the full amount in these cases.

Payment Flow

  1. Customer initiates payment - Hosted payment page URL is generated
  2. Customer completes payment - Redirected to Return URL
  3. Webhook notification - Omnium receives payment status update
  4. Order processing - Capture when ready for fulfillment
  5. Returns - Refund through returns workflow

Configuration Reference

Payment Service

Netseasy

Supported Currencies

All currencies supported by Nets Easy (NOK, SEK, DKK, EUR, etc.)

API Authentication

Bearer token authentication using the API Token (Client Secret).