Please wait ...


Loading...

Configuration in WooCommerce

  • Notification service
  • Get updates in your inbox.
    Sign up here.



1. Settings

The module settings are found in the menu WooCommerce -> Settings -> Payment gateways. Click on ’EPay’ at the top of the screen.


Title

Write the name of the payment method here. This is the name your customers will see at checkout. E.g. “Pay with credit card”.

Description

Include a short description of the payment method. Your customers will see the description at checkout.

Merchant number

The merchant number you received from ePay. You can find your merchant number in the ePay administration in the menu Settings -> Payment system.

Window ID

Choose which version of the payment window to use: You can create different versions from the ePay administration via the menu Settings -> Payment window. Use this to set up e.g. different texts for foreign customers, different payment card logos, or different settings for transaction fees.

Window state

This determines how the payment window is opened. Either in overlay (a window that opens on top of your website) or in full screen. We recommend overlay so your customer can see your store’s layout behind the payment window.

MD5 key

If you’ve activated MD5 in ePay, you have to enter your key here (the same key you entered in your ePay administration). The keys must be identical in the two systems. 

Instant capture

By enabling this setting, the payment is captured immediately. You can only use instant capture if the customers receive their products immediately, too (for instance by downloading).

Group

You can divide your payments into different groups and limit your ePay users’ access to specific groups. A group is a name/string. Leave the field empty if you don’t want to use groups (default).

Auth Mail

Enter an email address here to receive an email every time a payment is completed. You can separate addresses with a semicolon (;) if you have multiple recipients. Leave the field empty if you don’t want to use this service.

Own Receipt

Activate this to direct your customers to your own order confirmation page in WooCommerce after completed payment. 

Remote interface

By activating Remote interface (API), you can capture, credit and delete payments from WooCommerce. This means you don’t have to log in to ePay’s administration to process payments.

Remote password

Enter the password you entered in your ePay administration.

Invoice data

Enable this to send invoice data to the payment window. You can use invoice data to make invoice payments through Klarna or send receipts through Storebox.com/Kvittering.dk. Read more about invoice data in our technical documentation.

Add fee to order

Enable this to show the transaction fee on the order page. You define if you pay the transaction fee or you place it on the customer from your ePay administration in the menu Settings > Payment window.


The above functions are integrated in the WooCommerce module, but you can manually apply all the functions we offer. To do so, define the relevant parameters in your module files. See all available parameters here.

2. Subscription payments

ePay's module supports subscription (recurring) payments per default. All you need to do is install the plugin from WooCommerce Subscriptions

Please note that you must register the IP address of your website on your ePay administration under API/Webservices -> Access.

3. Process payments from WooCommerce

You can process payments from the administration in WooCommerce. This means that you don’t have to log into your ePay administration to capture, credit, or delete payments.

Activate “Remote interface” in the settings for the ePay module in WooCommerce.

Open your ePay-administration, and go to API/Webservices -> Access in the menu. Enter the IP address of your WooCommerce installation.

When viewing an order in WooCommerce, you’ll see information about the payment. You can see:

  • Transaction number
  • Order number
  • Currency
  • Authorised amount and timestamp
  • Captured amount and timestamp
  • Credited amount and timestamp
  • Description (if any)
  • Cardholder’s name (if any)
  • Transaction fee (if any)

To capture a payment in WooCommerce, find and click on the order number in the orders menu, and press ‘Capture’ on the right. You can delete the payment here as well. When a payment has been captured, a ‘Credit’ button appears. Click on the button to refund the payment (or part of the payment).