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 capture, and Apple Pay.
OnPay is a Danish payment gateway that lets your customers pay with Dankort (the Danish debit card), Visa, MasterCard, MobilePay, Apple Pay, and more. This guide shows you how to set up OnPay in your Shoporama store.
Step 1: Create the payment gateway
- Log in to Shoporama admin
- Go to Integrations → Payment gateways in the left-hand menu
- Click Add new payment gateway, and choose OnPay

Step 2: Connect to OnPay
Once the gateway has been created, click Connect to OnPay. You are taken to OnPay, where you approve the connection.
When you have granted Shoporama access, you are ready to receive payments through OnPay.
Step 3: Choose when payments are captured
When a customer pays, the amount is only reserved (authorized) on the card. The money is not yours until the payment has been captured. On the gateway's page under Integrations → Payment gateways, you can turn on Automatically capture the payment when the order is shipped or picked up and click Save and keep editing. Shoporama then captures the amount when you set the order to Shipped or Picked up.
The setting applies from the moment you turn it on. Orders that are already marked as shipped are not captured retroactively, so you need to capture those from the order. If you leave the setting turned off, you always capture payments yourself. Read more in the article on capturing payments.
Apple Pay: verify your domain
If you want to offer Apple Pay through OnPay, you turn it on in OnPay (see OnPay's guide to Apple Pay). Apple requires proof that you own your domain, so under Verify domain ownership, OnPay asks you to place a verification file on your store. You upload that file in Shoporama:
- Click Download verification file in OnPay, and save the file without opening or changing it
- Open your OnPay gateway under Integrations → Payment gateways
- Find the Apple Pay: Verify Your Domain section, choose the file in the Verification file from OnPay field, and click Save and keep editing
- Go back to OnPay, and click Verify domains

Once the file has been uploaded, Shoporama shows the addresses where it can be downloaded, for example yourstore.com/.well-known/apple-developer-merchantid-domain-association. Click one of the links: if you see a long string of numbers and letters, it works. The file is available on all the domains in the list, including the domain without www and the countries' own domains when they have been set up on the store. The domains you want to verify in OnPay must be in the list. If a domain is missing, write to support@shoporama.dk.
The file applies to the whole store, so you only need to upload it once, even if you have several payment methods with OnPay. If you have several stores, you upload the file in each of them.
If it says The file was not saved, Shoporama could not use the file. This typically happens when it is a different file than the verification file from OnPay. Download the file again from OnPay, and upload it as it is. If you need to remove the file again, check Delete the file and save.
Features
Shoporama supports the following OnPay features:
- Payment links: send payment links to customers
- Capture: capture the payment from the order page in admin
- Refund: refund orders in full or in part
- Cancel: cancel an authorization
- Automatic capture: automatically capture the payment when the order is shipped or picked up
- Apple Pay: upload the verification file from OnPay so Apple can verify your domain
Need help? Contact us at support@shoporama.dk.
Related articles
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...
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...
Set up QuickPay as your payment gateway
A guide to setting up QuickPay as the payment gateway in your Shoporama store. Supports Dankort, MobilePay, Visa, Mastercard, and many more payment...
How to set up Apple Pay in your Shoporama store
How to get Apple Pay in your Shoporama store. Apple Pay is enabled with your payment gateway (QuickPay, PensoPay, Flatpay, Stripe, Nets Easy,...