Nets Easy – 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.
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.
Configuration
Navigate to → WooCommerce → Settings → Payments → Nets Easy.
- Enable Nets Easy by checking the Enable Nets Easy checkbox.
- Title – Enter the title for the payment method displayed in the checkout and order confirmation emails.
- Merchant ID - Enter your Nets Easy Merchant ID. Only required if you are a partner and are initiating the checkout with your partner keys.
- Live Secret key – Enter your live secret key received from Nets.
- Live Checkout key – Enter your live checkout key received from Nets.
- Test Secret key – Enter your secret key for test purchases received from Nets.
- Test Checkout key – Enter your checkout key for test purchases received from Nets.
- Test mode – Tick the checkbox if you make purchases using the test credentials.
- Allowed Customer Types – Select if you want to sell both to consumers and companies or only to one of them.
- Email text – Custom text that will be added to the order confirmation email sent to the customer.
- 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.
- Debug mode – Enable debug logging. Stores requests and responses between WooCommerce and Nets in a log file. Can be found by navigating to WooCommerce > Status > Logs.
- 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.
- Checkout flow – Select how Easy should be integrated in WooCommerce. Embedded means that the checkout is embedded in the WooCommerce checkout page and partially replaces the checkout form. Redirect means that the customer is redirected to a payment page hosted by Nets.
- 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.
- 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.
- Complete payment button text - Select which text you want on the Complete payment button. Only applicable for subscription based payments.
Checkout language
The plugin does automatically display the 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.
Currencies
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.
Payment gateway icon
An icon is displayed next to the payment gateway name in checkout page.
If you want to change this icon (or modify the size of it), there is a filter available for that.
By using the filter wc_dibs_easy_icon_html
in the following way you can change it to your need.
A number of different logos can be found at Nets tech site.
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 here.
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
- The WooCommerce order status need to be set as Processing.
- Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
- In the Order details box there is a selectbox named Status. Change the status to Cancelled.
- Click the Update button located at the top right on the screen.
- If everything was successful a new order note saying Nets order cancellation completed is created.
Activate an order
- The WooCommerce order status need to be set as Processing.
- Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
- In the Order details box there is a selectbox named Status. Change the status to Completed.
- Click the Update button located at the top right on the screen.
- If everything was successful a new order note is created with information about the activation in Nets system.
Refund an order
- The WooCommerce order status need to be set as Completed.
- Go to the order edit screen by navigate to → WooCommerce → Orders and click on the order you want to edit.
- In the Order items box, press the Refund button.
- 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. - Press the Refund via Nets Easy button.
- If everything was successful a new order note is created with information about the refund in Nets system