🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 20, 2026

How to Accept Vipps MobilePay Payments With Gravity Forms

GravityExtra
How to Accept Vipps MobilePay Payments With Gravity Forms

In Norway, Denmark and Finland, people pay with their phones. Vipps in Norway and MobilePay in Denmark and Finland have merged into one company, and their app is used by millions of people every day, in shops, between friends and online. For a Nordic business, a club or a charity, a checkout without Vipps MobilePay means customers who reach for their card, hesitate, and sometimes give up.

If your site runs on WordPress and Gravity Forms, you do not need a web shop to take Vipps MobilePay payments. This tutorial shows how to accept them on any Gravity Forms form, a booking form, an order form, an event registration or a donation form, with the Gravity Forms Vipps MobilePay Payment Gateway Premium Add-on. We build a booking form for guided kayak tours, connect it to the Vipps MobilePay ePayment API, and look at reserving, capturing and refunding the money.

A Gravity Forms entry for a guided kayak tour booking paid with Vipps MobilePay: the order with two tours, a dry bag and shipping for 1,128.50 kroner, the notes saying the customer was sent to Vipps MobilePay with the phone number prefilled and that the payment was approved and reserved, and on the right the Vipps MobilePay box with a test environment badge, status Authorized, the reference and PSP reference, the reserved, captured and refunded amounts, a capture amount with a Capture button, Cancel the reservation and Refresh status
The entry screen: the order, the payment notes and the Vipps MobilePay box with Capture, Cancel and Refresh.

How a Vipps MobilePay Payment Works

Knowing the steps behind the button makes the settings easy to understand.

  1. The payment is created. When the form is submitted, your site works out the amount from the pricing fields and creates a payment through the ePayment API.
  2. The customer approves. On a phone the Vipps MobilePay app opens by itself. On a computer a payment page asks for the phone number, and the customer approves on the phone.
  3. The amount is reserved. After the approval, the money is set aside on the customer’s card or account, but not moved yet.
  4. You capture. Capturing moves the money to you. The rules say goods must be delivered before they are captured, so a shop captures when the parcel leaves, while a ticket can be captured at once.
  5. Refunds, if needed. Captured money can be refunded in full or in parts.

The add-on maps each step to the Gravity Forms payment status of the entry: Processing, Authorized (reserved), Paid (captured), Partially Refunded or Refunded, Voided when a reservation is cancelled, and Cancelled or Failed when the customer cancels or the payment expires.

What You Need

  • WordPress with Gravity Forms 2.9 or newer, on a site with HTTPS.
  • A Vipps MobilePay merchant agreement with a sales unit for online payments. Each sales unit has test keys and production keys in the business portal.
  • The Gravity Forms currency set to the currency of the sales unit: NOK, DKK or EUR.
  • The add-on, installed and activated with your GravityExtra licence key.

Step 1: Connect the Test Environment

In the business portal, open For developers → API keys and show the test keys of your sales unit. In WordPress, go to Forms → Settings → Vipps MobilePay, keep the environment on Test and paste the client ID, the client secret, the subscription key and the merchant serial number. When you save, the add-on asks Vipps MobilePay for an access token. Wrong keys are refused right away with a clear message, so a typo never turns into failed payments later.

Saving working keys also registers the webhook. Vipps MobilePay will now tell your site at once when a payment is approved, captured, refunded, cancelled or expires. Each webhook is signed; the add-on checks the signature and then reads the payment again from the API before it changes anything, so a forged request cannot mark an order as paid.

The Vipps MobilePay settings page: a test environment notice, the environment choice Test or Production, the test client ID with a green check, the client secret and subscription key as hidden password fields, the merchant serial number, empty production key fields, a currency line saying forms use NOK, a Connected to Vipps MobilePay line with the keys masked, and the Webhooks section with the webhook address and a line saying the webhook is registered and its signing secret is never shown
Forms → Settings → Vipps MobilePay: test and production keys, connection check and the registered webhook.

Step 2: Build the Booking Form

Our kayak company sells a three-hour guided tour at 450 kroner per person, a dry bag at 149.50 kroner and shipping for the bag. The form has a Name field, an Email field, a Phone field, two Product fields with quantities, a Shipping field and a Total field. The total updates as the customer changes the quantities.

The Phone field matters more than it looks. Many customers start on a computer. When the phone number is passed on, the Vipps MobilePay page already shows it, and the customer only needs to approve on the phone. The add-on accepts numbers as people type them, with or without spaces, and adds the country code from the currency when it is missing: +47 for NOK, +45 for DKK and +358 for EUR.

Step 3: Add the Vipps MobilePay Feed

Open the form’s Settings → Vipps MobilePay and add a feed. Choose Products and Services, use the form total as the amount and map the Phone field. Then choose how to capture.

The Vipps MobilePay section of a payment feed: capture manually, automatically or when a field of the entry gets a value, the capture field Order status and the value Shipped, the payment description Kayak tour booking with the entry number merge tag, order lines in the app, VAT included in prices of 25 percent and sending notifications only after the customer approves
Feed settings: capture rule, payment description, order lines with VAT and notifications.

Choosing the capture rule

  • Manually keeps the amount reserved until you capture it from the entry screen, or for many entries at once with the bulk action in the entry list. This is the safe choice for anything you deliver later.
  • Automatically captures as soon as the customer approves. Use it for tickets, downloads, memberships that start today and donations.
  • When a field gets a value ties the capture to your own workflow. Add an admin-only Drop Down named Order status with the choices New and Shipped, and set the rule to capture when it becomes Shipped. When your team updates the entry, the money is captured.

For our kayak tours the money is reserved at booking and captured on the day of the tour, so the manual rule fits. If a tour is cancelled because of the weather, the team cancels the reservation and the customer is never charged.

Order lines and VAT in the app

Customers like to see what they pay for. With order lines on, the app shows each product with its quantity, unit price and total, the shipping line, and the VAT worked out from the rate in the feed: 25 percent in Norway and Denmark, 25.5 percent in Finland. The add-on only sends order lines that add up to the amount exactly, so rounding or a discount never stops a payment.

A clear payment description

The description is the line the customer sees when approving. Use merge tags to make it specific, for example Kayak tour booking #{entry_id}. The same number appears in your entry list, which helps when a customer calls.

Step 4: Make a Test Payment

Open the form, book two tours and a dry bag and submit. You are sent to the Vipps MobilePay test environment; approve the payment with the test app on your phone. Back on your site you see the confirmation, and the entry shows the status Authorized with notes about the payment, the amount, the reference and the phone number that was prefilled.

Try the other paths as well. Cancel a payment in the app: the page tells the customer nothing was charged, and the entry is marked Cancelled. Come back to the site before approving: a waiting message appears and the page checks again by itself until the approval arrives. Leave a payment open until it expires: within five minutes the status check marks the entry as failed, even if no webhook comes in.

Step 5: Capture, Cancel and Refund

Open the entry. The Vipps MobilePay box shows what is reserved, captured and refunded, and the buttons that make sense right now. Capture the full amount, or a part of it if only some of the order was delivered; the rest can be captured later or released to the customer. After capture, a refund can be made in full or in parts. Every action asks for confirmation and sends a one-time key to Vipps MobilePay, so a double click never moves money twice.

Captures and refunds made in the business portal are not lost either. The next webhook, the five-minute check or the Refresh status button brings the entry up to date with notes for each change.

Step 6: E-mails at the Right Moment

Turn on Send form notifications only after the customer approves the payment, so the booking confirmation only goes out for approved payments. The add-on also adds payment events to Gravity Forms notifications: payment approved, payment captured, payment refunded, payment failed or cancelled, and reservation cancelled. Our kayak company e-mails the guide when a booking is approved and thanks the customer when the money is captured on the day.

Step 7: Go Live

When the test payments work, enter the production keys of the sales unit, choose Production and save. The add-on checks the keys and registers the production webhook. Make one small real payment and refund it to be sure, and you are done.

Tips for Nordic Checkouts

  • Put the phone number early in the form. Customers who see it filled in on the payment page finish faster.
  • Say when you capture. A line such as “we reserve the amount now and capture it on the day of the tour” prevents worried e-mails.
  • Use one currency per sales unit. A Norwegian sales unit takes NOK; for DKK or EUR use a separate sales unit and site.
  • Keep the test environment for changes. When you change the form or the feed, switch back to Test for a quick check.

Frequently Asked Questions

Does it work in Denmark and Finland?

Yes. The ePayment API is the same for Vipps in Norway and MobilePay in Denmark and Finland. Use the keys of your sales unit and the matching currency: NOK, DKK or EUR.

Do customers need to type their phone number?

On a phone the app opens by itself. On a computer the payment page asks for the number, and the add-on fills it in from your form when you map a Phone field.

Can I take recurring payments?

This add-on takes one-time payments. Subscriptions work differently at Vipps MobilePay and are not part of version 1.0.

Is any card data stored on my site?

No. The customer approves in the Vipps MobilePay app. Your site only stores the reference, the amounts and the status of each payment.

Which Gravity Forms version do I need?

Gravity Forms 2.9 or newer, any licence, with WordPress 6.5 and PHP 7.4 or newer.

Take Vipps MobilePay Payments in Gravity Forms

App switch on phones, prefilled phone numbers, order lines, reserve and capture, refunds and verified webhooks, all inside Gravity Forms.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr