Please wait ...


Configuration of WP Invoice

1. Information on the payment in WordPress

When the payment is completed, it is available in the WordPress administration in the menu ePay. See example below.

By clicking on the transaction ID you’ll get more information about the payment.

2. Settings

Find the settings by choosing ePay -> ePay – Settings in the menu on the left.

Merchant number

The merchant number you received from ePay. Find it in your ePay administration in the menu Settings -> Payment system.


Activate this to capture, credit, and delete payments from WordPress. This means you don't have to log in to your ePay administration to process payments. 


Divide your payments into different groups, and limit your ePay users’ access to specific groups. A group is a name/string. If you don’t want to use groups, simply leave the field empty (default). 

Show email

Put at Show to display an email field on the payment page.

Show name

Put at Show to display a name field on the payment page.

Show address

Put at Show to display an address field on the payment page.

Show country

Put at Show to display a country field on the payment page.

Show phone

Put at Show to display a phone number field on the payment page.

Show comment

Put at Show to display a comment field on the payment page.

Menu containing terms

Enter the URL which contains your terms and conditions.

Require accept terms

Put at Yes if your customers must accept your terms to complete the payment.

Available currencies

Specify the currencies you accept.

Available payment methods

Choose which payment logos to display at payment.

Company name

Enter your company name (or the name of the company which the payment is for).

Company email

Enter the email address from which the payment confirmation email is sent. If you don’t want to send a confirmation, leave the field empty.

E-mail payment confirmation

Enter the email addresses which are to receive a copy of the payment confirmation. Note that ‘Company email’ must be filled in to send a confirmation.

Show Cardholder name

Put at Show if the customer must enter his/her name in the payment window.

Customer pays the payment fee

If this setting is activated, the transaction fee is placed on the customer. An extra step is added to the payment process, and the customer is asked to accept the transaction fee. 

Instant capture

By enabling this setting, the payment is captured immediately. Please note that instant capture is only allowed if the customers receive their products immediately, too (for instance by downloading).

MD5 key

Enter your MD5 key here (the secret key you’ve entered in the ePay administration). Note that the keys must be perfectly identical.

Auth E-mail

If you want to receive an email every time a payment is completed, enter an email address here. You can enter multiple addresses; just separate them with a semicolon (;). If you don’t want to use this service, simply leave the field empty.

Split payment

This setting determines if payments should be processed as split payments. When using split payments, you can divide a payment into two or more transactions and capture parts of the amount one at a time – for instance if the goods are dispatched individually. You can keep capturing until the full amount is reached. Read more about split payments here.

3. Configuration of language

You can change the language of the invoice module, or add a new language, by using the .po file which is found here:

4. Process payments from WordPress

You can process your payments from WordPress, which means you don’t have to log in to ePay the capture, credit, or delete payments.

To activate this, enable “Use API” in the module settings in WordPress. Afterwards, the IP address on which your WordPress system is installed must be registered in your ePay administration from the menu API/Web services -> Access.

When you view the order in WordPress, you can see the following information:

Transaction status
Currency code
Split payment status (if used)
Description (if any)
Card holder’s name (if used)
Authorised amount and time stamp
Captured amount and time stamp
Credited amount and time stamp

To capture a transaction, enter the amount you want to capture, and press ‘Capture’. See image 6.

To cancel an order and delete the payment, press ‘Delete’. The transaction is deleted in ePay’s administration.

To credit a payment, enter the amount you want to refund, and press the ‘Credit’ button.

5. Direct link

From the invoice module you can set up a URL to the payment window in which some of the fields have been filled in. This is used to send a direct link to your customer.

How to define the URL:


Replace the following values:

[pageid] = replace with the page ID connected to the payment page in WordPress
[amount] = the amount in minor units. For instance, DKK 199.99 must be specified as 19999
[invoice] = the invoice number
[email] = the customer’s email address
[currency] =the currency code of the payment 

An example of a correct URL: