Introduction

Introduction

Nets Easy for WooCommerce is a plugin that extends WooCommerce, allowing you to take payments via Nets payment method Nets Easy.

The plugin can be downloaded for free here.

Nets Easy supports the Checkout block in WooCommerce when using the Redirect checkout flow as of version 2.8.0

Nets Easy does not support the Checkout block in WooCommerce when using the Embedded or Overlay checkout flows. Both these flows will instead be converted to the Redirect checkout flow.

You can read more about Checlout block support here.


Sign up with Nets


To get started with Nets Easy, you need to create an account with Nets. If you’re not a customer yet you can register here.


Testing


If you want to try the checkout before installing it in your store you can checkout our demo store here. You can also sign up for a test account so you can test it in your own WooCommerce store.

To make test purchases you also need customer test data. This information can be found here.


Installation


  • Login to WordPress Admin. Navigate to Plugins → Add New (in the left column menu).
  • Click on the Upload Plugin option, then click Browse to select the zip file from your computer. Once selected, press OK and press the Install Now button.
  • Activate the plugin.

Required WordPress/WooCommerce settings


  • You need to enable HTTPS (install a SSL/TLS certificate) in your web store to get Nets Easy to work.
  • Make sure that you have enabled pretty permalinks in your WordPress installation. Otherwise callbacks from Nets back to your store won’t work and orders will not be updated with the correct order status/information.
  • It’s important that callbacks from Nets to your store doesn’t get blocked by security or caching plugins. Make sure that requests to https://yourdomain.com/wc-api/ isn’t blocked.
  • To get the order total to match between WooCommerce and Nets you need to configure WooCommerce to display prices with 2 decimals. More information about displaying of prices and how it can cause rounding issues can be found in this article.
  • It’s recommended to add/use SKU on products (even on product variants). This is needed to keep track of purchased products in orders between the two systems and to make refunds working properly.
  • Your checkout page must use the Classic Shortcode block. Nets Easy does not support the Checkout block at this point. You can read more about this here.

Configuration


Before you get started you need to make sure you are using the checkout shortcode on your set Checkout Page if you want to use the Embedded or the Overlay checkout flow.
The Checkout block is the default for new WooCommerce installations as of version 8.3. Nets Easy for WooCommerce does not yet fully support this unless you use the Redirect checkout flow.

Go to Pages → your set Checkout Page and transform the Checkout block to the Classic Shortcode block.

Settings

Navigate to → WooCommerce → Settings → Payments → Nets Easy

  1. Enable Nets Easy by checking the Enable Nets Easy checkbox.
  2. Title – Enter the title for the payment method displayed in the checkout and order confirmation emails.
  3. Description – Enter the description of the payment method displayed in the checkout page.
  4. Merchant ID – Enter your Nets Easy Merchant ID. Only required if you are a partner and are initiating the checkout with your partner keys.
  5. Live Secret key – Enter your live secret key received from Nets.
  6. Live Checkout key – Enter your live checkout key received from Nets.
  7. Test Secret key – Enter your secret key for test purchases received from Nets.
  8. Test Checkout key – Enter your checkout key for test purchases received from Nets.
  9. Test mode – Tick the checkbox if you make purchases using the test credentials.
  10. Allowed Customer Types – Select if you want to sell both to consumers and companies or only to one of them.
  11. Email text – Custom text that will be added to the order confirmation email sent to the customer.
  12. Email payment data – Check this box to add Nets payment data to order confirmation email.
  13. Manage orders – Check this box if you want to cancel an order in Nets system automatically when the order is marked as Cancelled in WooCommerce and charge an order in Nets system automatically when the order is marked as Completed in WooCommerce.
  14. Logging – Enable debug logging. Stores requests and responses between WooCommerce and Nets in a log file. Can be found by navigating to WooCommerce  Status  Logs.
  15. Invoice fee ID – Create a hidden (simple) product that acts as the invoice fee. Enter the product ID number in this textfield (not the SKU). Leave blank to disable.
  16. Checkout flow – Select how Nets Easy should be integrated in WooCommerce.
    Embedded – the checkout is embedded in the WooCommerce checkout page and partially replaces the checkout form.
    Redirect – the customer is redirected to a payment page hosted by Nets.
    Overlay – similar logic as redirect flow but the hosted payment window is displayed in an overlay on desktop.
  17. Auto-capture – Check this box to automatically charge the customer directly when the purchase is done. This is a feature that is mainly used when selling digital goods (where there is no shipping of goods included). The order will only instantly be set to Completed in WooCommerce if it’s digital goods and no shipping is required.
  18. Other payment method button text – Customize the Select another payment method button text that is displayed in checkout if using other payment methods than Nets Easy. Leave blank to use the default (and translatable) text.
  19. Complete payment button text – Select which text you want on the Complete payment button. Only applicable for subscription based payments.
  20. Payment gateway icon – Enter an URL to the icon you want to display for the payment method. Use default to display the default Nets logo. Leave blank to not show an icon at all.
  21. Payment gateway icon width – Specify the max width (in px) of the payment gateway icon.

Standalone payment methods

Enable specific payment methods as standalone payment methods in the checkout.

  1. Card payment – Check this box to enable Card payment as separate payment method.
  2. Swish payment – Check this box to enable Swish payment as separate payment method.

After one, or more, of the standalone payment methods has been enabled, they appear as Payment Methods when you navigate back to WooCommerce → Settings → Payments

Configuration standalone payment methods

Click on the Payment Method you wish to configure to access the settings.

  1. Enable the Nets Easy standalone payment method by checking the Enable/Disable checkbox.
  2. Title – Enter the title for the payment method displayed in the checkout and order confirmation emails.
  3. Description – Enter the description of the payment method displayed in the checkout page.
  4. Payment gateway icon – Enter an URL to the icon you want to display for the payment method. Use default to display the default Nets logo. Leave blank to not show an icon at all.
  5. Payment gateway icon width – Specify the max width (in px) of the payment gateway icon.

Checkout language


The plugin does automatically display the Nets Easy checkout in the same language used on the website. Current supported locales are Swedish, Norwegian, Danish, English, German, Polish, French, Dutch, Finnish and Spanish.

The plugin is using the WordPress function get_locale() to determine the current language. If no language match is found the checkout will be displayed in English.

Change the language of your website:
  1. Go to the admin page.
  2. On the left panel, click on Settings (for WordPress, not for WooCommerce).
  3. Change the Site Language option to the language of your choice.
  4. Save changes.

Currencies


The plugin itself has no limitations regarding currency.

However, please note that there can be limitations in the agreement you have with Nets.

When it comes to questions regarding supported currencies you should always talk to your payment provider. The exception is when the plugin in fact do have limitations.

You can see what currencies Nets support and read about their Multicurrency solution here.


Order emails


Besides the text added in the Email text settings field, the payment gateway adds extra info in order emails sent to the customer. The following information is added below the order review table:

  • Order date
  • Nets Payment ID
  • Nets Easy Payment type
  • Masked card number

Subscription support



Nets Easy is compatible with the WooCommerce Subscriptions extension for handling of recurring payments.

Read more about recurring payments with Nets Easy in our Nets Easy Subscription support section or on the Nets Easy Docs site.


Order management


When an order is created in WooCommerce and a reservation number exists in Nets system, you have the possibility to handle the order management in Nets directly from WooCommerce. This way you can save time and don’t have to work in both systems simultaneously.

Requirements

To get started with order management in Nets via your WooCommerce store, you need to activate Manage orders settings in the payment getaway settings.

Cancel an order

  1. The WooCommerce order status need to be set as Processing.
  2. Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
  3. In the Order details box there is a selectbox named Status. Change the status to Cancelled.
  4. Click the Update button located at the top right on the screen.
  5. If everything was successful a new order note saying Nets order cancellation completed is created.

Activate an order

  1. The WooCommerce order status need to be set as Processing.
  2. Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
  3. In the Order details box there is a selectbox named Status. Change the status to Completed.
  4. Click the Update button located at the top right on the screen.
  5. If everything was successful a new order note is created with information about the activation in Nets system.

Refund an order

  1. The WooCommerce order status need to be set as Completed.
  2. Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
  3. In the Order items box, press the Refund button.
  4. Here you can choose to refund the full sum for an item (1), part of the sum (2) or shipping (3).
    If you enter a sum manually (2) you also need to enter the correct tax to refund manually, as opposed to when you refund the full sum for an item in which case the tax is automatically calculated. With shipping (3) you need to enter the amount manually, as well as the tax. Not to be confused with the Refund manually button.
  5. Press the Refund via Nets Easy button.
  6. If everything was successful a new order note is created with information about the refund in Nets system

Compatibility with themes & plugins


  • Nets Easy uses its own template file for displaying the checkout page and should work with most themes. However, the plugin is only tested with the Storefront theme and we do not guarantee that it will work with other themes. Common situations when errors occur are:
    – Themes/plugins with customized template files for WooCommerce checkout page.
    – Themes/plugins that modifies the checkout into a multi step checkout.

Read more about compatibility on these links:
Compatible plugins
Known compatibility issues

Krokedil and Nets do not offer help with adapting your theme or plugin within regular support.