Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Payment Providers
  3. Swish Payment Provider: app link, QR code, phone number and refunds (SEK) v 20.0
  4. Sales Conditions FAQ

Swish Payment Provider: app link, QR code, phone number and refunds (SEK)

by Aerya IT Solutions https://aerya.net
Odoo

$ 60.26

v 20.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Aerya Odoo 17, 18, 19 and 20, Community and Enterprise · Developed in the European Union by Aerya IT Solutions

Swish Payment Provider: app link, QR code, phone number and refunds (SEK)

Let customers pay your Odoo orders and invoices with Swish: the Swish app on their phone, a QR code to scan, or their phone number. Odoo creates the payment request through the Swish Commerce API, follows it by callback and by status polling, confirms the payment only after reading it back from Swish, and refunds from the payment transaction.

Payment requests, status reads, cancel, refunds and QR codes run on the Swish simulator with its test certificate
Every callback is checked and the status is read back from the Swish API before Odoo accepts it
Works without a public address too: open payments are read on a schedule

Runs on Odoo.sh and on-premise, not on Odoo Online (SaaS), where Odoo does not allow modules with Python code. Please buy the version that matches your database.

The Swish page of the shop: open the app or scan

Screenshots of Odoo 17 in Swedish, with the data of a fictitious company; the payments were made on the Swish simulator.

127 automated tests on each version
every status and error code, forged and repeated callbacks, refunds, certificates, unreachable servers, recorded answers of the Swish simulator, and every screen in a browser
Code checked with flake8 and pylint-odoo
no warnings, on the four versions
Odoo core only
Community and Enterprise

Swedish customers expect to pay with Swish

Swish is the mobile payment service most people in Sweden use every day. A shop that sells in kronor and offers only cards loses buyers at the last step, and typing a payment by hand from a bank statement means someone matches amounts to orders. This module adds Swish as a payment provider of the Odoo payment module, so the shop, the payment links, the invoices and the customer portal can all take it. The payment is confirmed in Odoo without anyone touching it, and a refund starts from the payment transaction.

App link, QR code or phone number

After choosing Swish the customer lands on a short page of your shop. On a phone the Swish app opens with the payment ready; on a computer the page shows the QR code Swish draws for the request, or the customer types the mobile number registered in Swish and confirms in the app.

Payment links, invoices, the shop and the customer portal: every flow of the Odoo payment module.

The customer chooses how to open Swish

Confirmed by Swish, not by the callback

The callback address carries a token made for the request and Swish returns the identifier Odoo sent with it; a callback without both gets a 403 and nothing is read. A valid one only makes Odoo read the payment request on the Swish API: the status, amount and currency that count come from that answer.

The waiting page and a scheduled action (every 5 minutes) read the status with the pauses Swish recommends, so a shop that Swish cannot call still gets its payments.

A payment confirmed from the Swish request

Refunds from Odoo

Full or partial refunds (from 1 SEK) from the payment transaction, with the bank reference Swish gave the payment. The refund stays pending until Swish reports it paid or refused, and Swish's answer is written on the transaction.

A partial refund read from Swish

Your certificate, your company

Each provider holds its own Swish number and certificate (.p12 or PEM, with its password), readable by administrators only. The form shows who the certificate was issued for and when it expires, and a button checks the connection. In test mode the button Use the Swish simulator and its test certificate fills what Swish publishes for tests.

The Swish provider in Odoo

More screenshots

A payment Swish ended with an error: the transaction records why

A payment Swish ended with an error: the transaction records why

Payment transactions of a Swedish shop

Payment transactions of a Swedish shop

How it works

1

Order Swish Commerce from your bank and export the certificate of your Swish number as a .p12 file.

2

Install the module and open Payment Providers › Swish: enter the Swish number, upload the file, type its password.

3

Stay in Test mode and pay an order on the simulator, then switch to Enabled.

4

Refund or follow every payment from the payment transaction.

What it does not do

  • Only Swedish kronor (SEK). Another currency is refused.
  • No payouts, no saved payment methods (Swish asks the payer each time) and no manual capture, because a Swish payment is made at once.
  • The Swish Sandbox with test phone apps is not wired in: only the Swish simulator is.
  • A refund above what is left of the payment is stopped with a message that names the case, and so are an invalid number, a number not enrolled in Swish, a callback address that is not https and an unreachable Swish.
  • It does not ship the Swish logo. The provider uses the module icon.

Frequently asked questions

What must my shop have so Swish can call it back?

A public https address on port 443 with a certificate from a public authority, set in the system parameter web.base.url. Without it the module still works: open payments are read from Swish every 5 minutes.

Can I use it with several companies?

Yes. Each provider, so each company, holds its own Swish number and certificate.

When does a certificate expire?

Swish certificates are valid for five years. The provider form shows the date, so you can renew before it.

Who can read the certificate and its password?

Only administrators.

Does it install next to my other payment providers?

Yes. The provider code is aerya_swish and it depends only on the Odoo payment module.

Sammanfattning på svenska

Betalningsleverantör för Swish i Odoo 17, 18, 19 och 20 (Community och Enterprise): kunden betalar med Swish-appen, QR-kod eller mobilnummer. Odoo skapar betalningsförfrågan via Swish Commerce API, tar emot callback, läser av status med de pauser Swish rekommenderar och bekräftar betalningen först när den lästs tillbaka från Swish. Återbetalningar (helt eller delvis) från betalningstransaktionen, certifikat per företag och endast svenska kronor. Testad mot Swish simulator med dess testcertifikat.

Explore our other apps

More modules by Aerya IT Solutions for Odoo 20, built to work together.

Test Card Payment Provider

A test payment provider for simulated payments and demos: test card numbers give approved

45 EUR · View on the store →

Payment Surcharge & Provider Fees

Surcharge per payment provider (fixed plus percentage, by country

42 EUR · View on the store →

Paynow Payments

Take payments with Paynow on the Odoo shop and invoices: hosted paywall with BLIK

45 EUR · View on the store →

2C2P Payments

Take payments with 2C2P on the Odoo shop and invoices: hosted payment page with cards

50 EUR · View on the store →

PayU Europe Payments

Take payments with PayU on the Odoo shop and invoices: hosted checkout for cards and BLIK

50 EUR · View on the store →

WayForPay оплата карткою

Платіжний провайдер WayForPay для магазину та рахунків Odoo: сторінка оплати з підписом HMAC

29 EUR · View on the store →

Questions or a custom quote?

Write to info@aerya.ro for questions about the module, its installation or custom development.

Aerya

Developed in the European Union by Aerya IT Solutions, Odoo implementation and development. aerya.net

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 1605
Technical Name aerya_payment_swish
LicenseOPL-1
Websitehttps://aerya.net
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with