How to set up Flatpay as your payment gateway
Step-by-step guide to setting up Flatpay as the payment gateway in your Shoporama store, with cards, MobilePay, Apple Pay, and Google Pay.
Flatpay is a Danish payment provider with competitive pricing. With Flatpay as your payment gateway, you can accept online payments in your Shoporama store, and your customers can pay with cards, MobilePay, Apple Pay, and Google Pay. Flatpay's online payments are processed by the Nordic payment partner Frisbii, but Flatpay is the only company you need to deal with.
Sign an agreement with Flatpay
Before you can accept payments, you need an agreement with Flatpay:
- Contact Flatpay and set up an agreement for online payments at flatpay.com.
- Complete Flatpay's approval of your business.
- When your agreement is ready, Flatpay gives you a private API key. It starts with priv_ and is the only information you need to get started.
Set up Flatpay in Shoporama

- Log in to Shoporama and go to Integrations → Payment gateways.
- Click Add new payment gateway and choose the type Flatpay.
- Give your gateway a name that customers don't see, for example "Card payment".
- Paste your private API key from Flatpay into the Private API Key field.
- Save. That's it. Shoporama sets up the rest automatically.
Fields and configuration
On the setup page, you can fill in the following:

- Private API Key. The key from Flatpay that starts with priv_. It is used to create and confirm payments.
- Payment methods. Enter the methods you want to offer, separated by commas, for example card,mobilepay. Supported methods include cards, MobilePay, Apple Pay, and Google Pay. Leave the field empty to allow all methods.
- Language. The language of the payment window in the format xx_YY, for example da_DK for Danish or en_US for English. Leave it empty to use the default.
Payment capture settings
- Test mode. Turn this on if you use a test key from Flatpay. You can then complete test purchases without charging real money. Remember to switch to your live key and turn off test mode before you go live.
- Autocapture. Captures the amount as soon as the customer pays. Suitable for digital products that are delivered immediately.
- Automatically capture the payment when the order is shipped or picked up. The amount is authorized at the time of purchase and only captured when you mark the order as shipped or picked up. Recommended for physical products.
Note: Autocapture and "capture on shipment" can't both be turned on at the same time. Choose the one that suits your products.
Payment notifications are set up automatically
When you save your Flatpay gateway, Shoporama checks your key and automatically sets up the connection to Flatpay, so your store is notified every time a payment is completed. This means you don't need to log in to a Flatpay dashboard to enter URLs or keys manually. If you see a green confirmation on the setup page, the connection is active.
What Flatpay can do in Shoporama
- Card payments and wallets. Visa, Mastercard, MobilePay, Apple Pay, and Google Pay.
- Capture payments. Manually from the order, automatically at payment, or automatically when the order is shipped.
- Refund. Refund all or part of a payment directly from the order in Shoporama.
- Cancel. Cancel an authorized payment that has not yet been captured.
- Subscriptions. Supports recurring payments for subscription orders.
- Payment links. Send a payment link to the customer directly from the order page.
- Age verification. An optional setting where the customer confirms their age with MitID or in the app when the cart contains age-restricted products. See the section Age-restricted products below.
- Open and closed cart. Works with both checkout types.
- REST API. Create payment links through Shoporama's REST API.
Age-restricted products
If you sell products with an age limit, such as alcohol, tobacco, or e-cigarettes, Flatpay can verify the customer's age before the payment is completed. Two things must be in place:
- Flatpay has enabled age verification on your agreement. Flatpay charges a fee per verification. Contact Flatpay for the price and to have it activated.
- You have turned on Age verification in Shoporama. Go to Integrations → Payment gateways and open your Flatpay gateway. Turn on the Age verification switch at the bottom of the Flatpay box, and save. The switch stays off until you turn it on yourself.

You set the age limit on each product as before, in the Legal, VAT, customs, and environment card under Age verification. If your products already have an age limit, it is used right away. With both in place, Shoporama sends the age limit to Flatpay whenever the cart contains age-restricted products. If the products have different age limits, the highest one is used. When the customer pays by card, they must confirm their age with MitID (the Danish digital ID) in Flatpay's payment window before the payment is completed. When the customer pays with MobilePay or Vipps, the age limit is passed on to the app, which checks the age. If the cart contains no age-restricted products, no age limit is sent, and the payment looks the way it usually does.
The age check applies at checkout and to payment links you send from an order. It does not apply when the customer signs up for a subscription with Flatpay, because the customer only saves their card at that point.
Ask Flatpay to enable age verification before you turn on the switch. If Flatpay rejects a payment with an age limit, Shoporama creates the payment again without the age limit, so the customer can still pay. The age is then not verified for that payment, and you get a message under Notifications (the bell at the top of the admin).
Besides Flatpay, age verification only works with ePay (when age verification is turned on at ePay) and with Vipps MobilePay set up directly in Shoporama. Other payment methods, such as invoice, bank transfer, or other payment gateways, don't verify the age, and Shoporama can't hide them when the cart contains age-restricted products. If you want to make sure that every purchase of age-restricted products is verified, your store should only offer payment methods that verify the age.
Subscriptions
If you sell subscriptions, the customer saves their card the first time through Flatpay's payment window. After that, the following payments are charged automatically without the customer having to do anything. In other words, the customer must complete the first payment for the subscription to keep running on its own.
Security
Every time Flatpay notifies your store about a payment, Shoporama confirms the payment's status and amount directly with Flatpay before the order is marked as paid. The amount is also checked against the order. This means that payments can't be forged and that an order is only marked as paid when the money has actually gone through.
Test your setup
With a test key from Flatpay and test mode turned on, you can complete test purchases without real money. Use a test card such as 4111 1111 1111 1111 with any future expiration date and any CVV number. Try the whole flow: complete a purchase, capture the amount, make a refund, and cancel a payment, so you know the order flow before you go live.
Frequently asked questions
Can my customers pay with MobilePay?
Yes. Flatpay supports MobilePay, regular payment cards, Apple Pay, and Google Pay. Whether the customer prefers their phone or their card, they are covered. You decide which methods are shown in the payment window.
Where can I see if an order has been paid?
Open the order in Shoporama. On the order, you can see the payment status and whether the amount is authorized or captured. If the payment has gone through, the order is shown as paid. If nothing has been paid, it is typically shown as pending.
A customer says the payment failed. What should I do?
First, look at the order in Shoporama. If no payment has been registered, the customer can safely try again, possibly with another method, such as MobilePay or a different card. If the payment itself fails, the order is not completed, and no money is charged.
Can I choose which payment methods the customer sees?
Yes. In the Payment methods field in the gateway setup, you choose which methods are shown. Show the methods your customers actually use. Fewer, relevant choices often give a better and faster checkout experience than a long list.
Can the payment page be in Danish?
Yes. You set the language of the payment window in the gateway setup, for example da_DK for Danish. A payment window in the customer's own language builds trust at the crucial moment and reduces drop-off. If you have many customers from abroad, you can choose another language.
How do I do the bookkeeping for my Flatpay sales?
Shoporama shows the full order amount and your captures and refunds on the order itself. The payout to your bank account and the deducted transaction fees are handled by Flatpay and don't appear in Shoporama. For your bookkeeping, use Flatpay's settlement report, which shows gross sales, fees, and net payout, and reconcile it against the orders in Shoporama.
I have several stores. Can I use the same Flatpay agreement?
You can use the same Flatpay merchant agreement, but each store is set up separately with its own private key under Payment gateways. It only takes a few minutes per store, and the connection is set up automatically for each one.
I'm switching from another payment gateway. Is there anything I should be aware of?
New orders, subscriptions, and payment links run through Flatpay as soon as the key is active, and the switch itself causes no downtime in your store. Existing subscriptions on your old gateway don't move over automatically, because saved cards can't be transferred between providers. Keep the old gateway running until the last payments have been completed. If you sell age-restricted products and use ePay today, have Flatpay enable age verification on your agreement, and turn on Age verification on the Flatpay gateway. Otherwise, the age is not verified when the customer pays with Flatpay.
Can Flatpay verify the customer's age when I sell wine?
Yes, once Flatpay has enabled age verification on your agreement and you have turned on Age verification on the Flatpay gateway in Shoporama. The customer then has to confirm their age with MitID for card payments, or in the app for MobilePay and Vipps, before the payment is completed. See the section Age-restricted products above and Age verification on products.
Does age verification with Flatpay cost anything?
Yes, Flatpay charges a fee per verification. Contact Flatpay for the price and to have age verification enabled on your agreement. Shoporama only sends an age limit when the cart contains age-restricted products, so purchases of other products are not age verified.
What happens if Flatpay hasn't enabled age verification on my agreement?
The customer can still pay, but the age is not verified for that payment, and you get a message under Notifications. Ask Flatpay to enable age verification, or turn off Age verification on the Flatpay gateway until it is in place.
Need help?
If you have any questions about the setup, you are always welcome to contact us at support@shoporama.dk.
Related articles
How to set up PensoPay as your payment gateway
Step-by-step guide to setting up PensoPay as the payment gateway in your Shoporama store, with test mode, autocapture, refunds, subscriptions, and...
How to set up OnPay as your payment gateway
Step-by-step guide to setting up OnPay as the payment gateway in your Shoporama store. Supports payment links, capture, refund, cancel, automatic...
Set up Nets Easy (Nexi) as your payment gateway
A guide to setting up Nets Easy (Nexi) as the payment gateway in your Shoporama store, including capturing, refunding, subscriptions, and...
Age verification on products (15, 16, or 18 years)
How to set an age limit of 15, 16, or 18 years on products in Shoporama, so the customer's age is verified at payment with ePay, Flatpay, or Vipps...
Related features
Age verification
Selling alcohol, tobacco, or e-cigarettes online? Set an age limit on the product, and the age is checked at payment with ePay, Flatpay, or Vipps...
12 payment gateways for your online store
Choose from OnPay, Quickpay, Stripe, Mollie, Nets Easy, ePay, and more. Automatic capture, country restrictions, and buy now, pay later with Klarna.