Skip to content

    Nets Easy for Drupal

    This guide describes how to install, configure, and use the Nets Easy webshop module for Drupal.

    Compatibility: Drupal 8 & 9
    Latest version: 1.0.0-rc2 (2021-06-08)

    Download on Drupal

    Before you start

    Before you start, you need an Nets Easy Portal account. See the guide Create account for more information about creating a free test account.

    Overview

    Our Drupal plugin is the perfect extension that enables you to use the Nets Easy checkout to its full potential for your Drupal store. Nets Easy supports most popular payment methods.

    Plugin Easy payment icons

    Shop features

    • The Nets Easy fast checkout with "remember me" functionality.
    • A smart mix of payment methods to suit all preferences.
    • Multiple checkout languages and currencies for selling in your domestic market and abroad.

    The following screenshot shows a checkout page provided by Nets Easy module:

    Standard hosted checkout screenshot

    Admin features

    • Quick setup and flexible configuration.
    • Intuitive order management with synchronized captures and refunds.
    • Compatibility with discounts, tax (VAT), and shipping options.

    The screenshot below shows the configuration page for the Nets Eeasy module:

    Drupal admin view

    Installation

    Here's how to install the Nets Easy module in Drupal using the Composer:

    1. Run composer require drupal/commerce_easy in your command-line interface. See the official Drupal documentation if you need help using Composer
    2. Next, you need to activate the module. You have two options:
    • Alternative 1: Use the Drupal UI. Go to Extend and search for the Commerce Easy module.
    • Alternative 2: Use Drush. Type drush en commerce_easy in your command-line interface.

    See also the installation guide at Drupal for more information.

    The module is now installed and activated and ready to be configured for your Nets Easy account.

    Configuration

    After installing the module, you need to do some basic configuration of the module:

    1. Log in to the administration panel as Administrator.
    2. Go to Store > Configuration > Payment Methods.
    3. Click Edit near the Nets module (in Operations column).
    4. Click on the module element in the Action list.
    5. Fill in the Payment Settings section and click the Save button.

    TODO

    Drupal admin view

    The following table lists all the settings you can configure in the administration area for the Nets Easy module:

    Configuration settingDescription
    NameThe name of the payment gateway.
    PluginSelect Nets Easy - Hosted Payment Page.
    Display nameShown to your customers during checkout.
    ModeToggles between Test mode and Live mode. Choose test mode if you want to make test purchases using the test environment. There are sample card numbers and invoice addresses for testing purposes. Live mode requires an approved account.
    Collect billing informationTick this checkbox if you want to collect billing information. Important! Before disabling, make sure you are not legally required to collect billing information.
    Secret KeyYour secret key which can be found in Easy Portal. See the guide Access your integration keys for more help. Important! Use the Test Secret key or Live Secret key depending on the specified Mode (see the Mode setting above).
    Path to terms and conditions pageThe URL to the terms and conditions of your webshop.
    LanguageThe language displayed on the checkout page. Default value is English.
    Enable notification webhookTODO
    ConditionsDefines the conditions for when to load this payment gateway. You can create rules based on Customer and/or Order.
    StatusEnables or disables the module.
    🎉

    Congratulations!

    You've now installed and configured the Nets Easy webshop module. If you have further questions, please see the troubleshooting section below or reach out to our support.

    Order management

    It's possible to manage orders directly in the Drupal admin:

    1. Navigate to Administration > Commerce > Orders
    2. Click on an order line to access order details.
    3. Choose your desired action, Capture/Void/Delete. The Nets Easy plugin will synchronize automatically. The payment status will also be updated in Nets Easy portal.

    All transactions performed by Nets are accessible in Easy Portal.

    Order Listing in Drupal

    Troubleshooting

    Below are some of the most common configuration errors, their cause and steps that you can follow to solve them.

    Nets payment plugin is not visible as a payment method

    • Temporarily switch to the Drupal standard template. Custom templates might need addtional changes to ensure correct display. Consult with your webdesigner or developer.

    Nets payment window is blank

    • Ensure your integration keys in the Nets plugin settings are correct and do not contain additional blank spaces.
    • Temporarily deactivate thrid party plugins that might affect the functionality of the plugin.
    • Check if there are any temporary technical inconsistencies: https://nets.eu/Pages/operational-status.aspx

    Payments in live mode don't work

    • Ensure you have an approved Live Easy account for production.
    • Ensure your Live Easy account is approved for payments with the selected currency.
    • Ensure payment method data is correct and supported by your Nets Easy agreement.