Set up ePay as a payment gateway
Step-by-step guide to setting up ePay as a payment gateway in your Shoporama online shop.
ePay is one of the payment gateways that Shoporama supports. Here you will find a guide to setting it up.
Note: ePay was previously called Bambora and is now part of Worldline. When you create a new payment gateway in Shoporama, select ePay.
Step 1: Create gateway in Shoporama
- Log in to your Shoporama admin panel
- Click on Settings (the gear)
- Click on Payment gateways
- Click Create new payment gateway
- Select ePay
- Give it a name, e.g. "Credit card"
- Click Save
Step 2: Fill in the Merchant ID
In the Merchant ID field, enter your Merchant ID from ePay. You can find it in ePay's admin under Settings → Payment system. It is typically a 7-digit number.
Step 3: API access
For Shoporama to collect payments and manage subscriptions, you need to create an API user in ePay admin:
- Log in to the ePays admin panel
- Go to API/Webservices → Access
- Create a new API user
- Copy the Access token and the Security token
- Paste them into the corresponding fields in Shoporama
Step 4: Add your domain in ePay
ePay requires you to whitelist the domains that can use the payment window. If your domain is not approved, you will see the error "The referring domain is not allowed".
- Log in to the ePay admin panel
- Go to Settings → Payment system
- Find the field with allowed domains
- Add your domain (e.g. www.dinshop.dk)
- Also add dinshop.shoporama.dk if you are still using the Shoporama subdomain
Important: If you change your domain later, remember to update the list in ePay.
Step 5: Automatic capture (optional)
If you want the money to be automatically captured when the order is shipped or picked up, you can check "Automatically capture money when the item is shipped or picked up".
Step 6: Save and test
Click Save in Shoporama. You should now test that the payment works by creating a test order in your online shop.
To test the payment window, your shop must be set to live. In demo mode, a simplified screen is shown instead of the real payment window. See the FAQ below for more info.
Advanced settings
ePay also has a number of advanced settings that most people don't need to change:
| Field | Field Description |
|---|---|
| Windowstate | Controls how the payment window is displayed. Default is 4. |
| Window ID | Used if you have a customized payment window in ePay. |
| Payment Type | Limit to a specific payment type, e.g. Dankort only or MobilePay Online only. |
| Add invoice data | Sends order lines and customer information to ePay. Required when using Klarna. |
| Language | Language in the payment window. 1 = Danish. |
Frequently asked questions
Why don't I see the payment window?
There can be several reasons:
- The shop is in demo mode - The payment window only appears when the shop is live. In demo mode, you will instead see the text "Pretend to pay". Switch to live in Settings to see the real payment window.
- Missing SSL - The payment window requires your shop to run over HTTPS. Shoporama automatically creates an SSL certificate when your domain is set up correctly. Check SSL/HTTPS on your online shop.
- Incorrect Merchant ID - Check that you have entered the correct Merchant ID from ePay.
I get the error "The referring domain is not allowed"
This error means that the domain you are using is not authorized in ePay's admin. Log in to ePay and add your domain under Settings → Payment system. Remember to add both your own domain (e.g. www.dinshop.dk) and possibly your Shoporama subdomain (e.g. dinshop.shoporama.dk).
Can I test payment with a test card?
ePay provides test merchant numbers and test cards that you can use to test the payment flow. However, please note that the payment window only appears when the shop is set to live - not in demo mode.
Alternatively, you can make a test purchase with a real card on a cheap product and then refund the payment in ePay's admin.
What is the difference between demo mode and live?
In demo mode, Shoporama simulates the payment so you can test the rest of the checkout flow (cart, delivery details, order confirmation) without involving ePay. In live, the customer is sent to the real ePay payment window to pay by card, MobilePay or other payment methods.
Is it ePay, Bambora or Worldline?
It's the same company. ePay was acquired by Bambora, which was later acquired by Worldline. In Shoporama and in ePay's own admin panel, the name ePay is still used.
Do you have problems with the setup? Contact us at support@shoporama.dk and we will help you.
Related articles
Mollie payment gateway
Learn how to set up Mollie as a payment gateway in Shoporama. Mollie supports iDEAL, credit cards, Klarna, PayPal, Apple Pay, Bancontact and many...
Set up integration with Anyday
Guide to integrating Anyday installment on your Shoporama online store. Includes script insertion and pricetag implementation.
Set up Klarna as payment method
Learn how to set up Klarna as a payment method in your Shoporama webshop.