Odoo 19 app

Swedbank Pay Payment Gateway

Take cards, Swish, Vipps, MobilePay and Trustly in Odoo through your Swedbank Pay agreement.

Swedbank PayOnline PaymentsPayment Order v3.1SwishVippsMobilePayTrustlyCards

What it does

Adds Swedbank Pay as a payment provider for Nordic and Baltic shops. When the customer pays an order, a portal invoice or a payment link, Odoo creates a Swedbank Pay payment order and sends the customer to the Swedbank Pay payment menu, where they pay by card, Swish, Vipps, MobilePay or Trustly, depending on your agreement. When they come back, and whenever Swedbank Pay sends a callback, Odoo reads the payment order from the Swedbank Pay API and records the result. Captures, cancellations and reversals (refunds) are made from the payment in Odoo.

Who it is for

  • Nordic shops with a Swedbank Pay agreement. Customers are sent to the Swedbank Pay payment menu and pay by card, Swish, Vipps, MobilePay or Trustly, whichever your agreement covers. Orders can be in SEK, NOK, DKK or EUR.
  • Stores that ship one order in several parcels. Card and Vipps payments are authorized first. With Capture Amount Manually on, you capture part of the amount per shipment from Odoo and cancel what is left. Swish and Trustly are paid in one step.
  • Merchants who settle with Swedbank Pay or on their own. The Settlement Option field sets the payee reference format: letters and digits up to 30 characters for option A, or 12 digits for option B, as your agreement says.
  • Finance teams who want a view of card and Swish takings. The Swedbank Pay Payments menu opens a bar chart and a pivot of payments by date and state, with a list of each transaction behind them.

Features

Payment menuredirect to the Swedbank Pay page with the payment order Odoo creates (v3.1), in the customer's language or the one you pick
Card capturecards and Vipps are authorized first: Odoo captures them at once, or you capture all or part later and cancel the rest
Swish and Trustlypaid in one step, the order is confirmed when Swedbank Pay reports it paid
Reversalsrefund in full or in part, several times, while captured money is left on the payment order
Callbacksaccepted only on a secret address per provider; Odoo then reads the payment order back from the API, as Swedbank Pay asks
Instrument modeopen the page with only the method picked in Odoo, for agreements that include it
VAT amountsent from the taxes of the linked invoice or order
Status checksa button on the payment and a check every 15 minutes for open payment orders
Payments reportgraph and pivot of Swedbank Pay payments by day and state
API logevery call and callback with its result; token and card details masked

Setting it up

  1. Ask Swedbank Pay for your payee ID and create an access token for the test environment in the Merchant Portal.
  2. Go to Invoicing > Configuration > Online Payments > Payment Providers, open Swedbank Pay and paste the Swedbank Pay Payee ID and Swedbank Pay Access Token.
  3. On the Swedbank Pay tab, fill in the payee name shown to customers, the page language, an optional HTTPS terms of service link and the settlement option of your agreement.
  4. Tick Swedbank Pay Instrument Mode only if your agreement includes it. The payment page then opens with just the method the customer chose in Odoo.
  5. Keep only the payment methods your agreement covers among card, Swish, Vipps, MobilePay and Trustly.
  6. Pay a test order with a Swedbank Pay test card, then paste the production token and set the provider to Enabled.

Swedbank Pay Payment Gateway: questions

Do I need to register a callback URL at Swedbank Pay?

No. Odoo sends its callback address with every payment order. The address holds a random secret per provider, and Odoo reads the payment order back from the API before changing anything, because Swedbank Pay callbacks are not signed.

Which environments does it call?

Test Mode calls the external integration environment at api.externalintegration.payex.com. Enabled calls production at api.payex.com. Use the access token issued for the matching environment.

Is the embedded checkout included?

No. Payments use the redirect payment menu of Payment Order v3.1. Saved cards and tokenization are not offered either.

How is the VAT amount worked out?

From the taxes on the linked invoice or sale order, in proportion to the amount paid. When the payment has no linked document, 0 is sent.

Can I refund part of a payment?

Yes. Reversals can be full or partial and repeated, as long as captured money is left on the payment order. The transaction shows how much is left to capture and left to refund.

Which Odoo setup does it need?

Odoo 19 Community or Enterprise with the payment and account_payment modules. A status check runs every 15 minutes for open payment orders, and each transaction has a Check Status on Swedbank Pay button.