Skip to content
OpenCart · User manual

Swish för handel

Version 1.5.3 Product page
Chapter 1

Overview

Swish för handel adds Swish as a payment method in your OpenCart checkout, by QR code or by the customer's phone number, and lets you send Swish refunds from the order list.

What the extension does

Swish för handel connects your OpenCart store to the Swish merchant service. Your customers pay with the Swish app on their phone, and the order is confirmed in your store when Swish reports the payment as paid.

The extension offers two ways to pay. You choose one of them in the settings:

  • QR Mode: the checkout shows a Swish QR code. The customer scans it with the Swish app. A customer who is shopping on the phone can tap the code to open the Swish app directly.
  • Phone number mode: the customer types the mobile number linked to Swish and presses the confirm button. The payment request appears in the Swish app on that phone.

In both modes the checkout page waits for the answer from Swish. When the payment is paid, the customer is taken to the order success page. If the customer declines the payment, a message is shown and, in QR mode, a new QR code is generated so the customer can try again.

Other features:

  • Swish refunds from the OpenCart order list, with order statuses that follow the progress of the refund.
  • A test mode that sends requests to the Swish test environment.
  • Every text the customer sees can be translated for each language of your store.
  • Availability rules: minimum order total, geo zones and sort order.

Requirements

RequirementDetail
OpenCart1.5.x, 2.x and 3.x
OpenCart 1.5 onlyVQMod installed in the store
PHPThe cURL extension
Store URLHTTPS, reachable from the internet, so that Swish can send its payment notifications
CurrencySwedish krona (SEK). The payment method is shown only when the customer's checkout currency is SEK
SwishA "Swish för handel" agreement with your bank, your Swish number and a Swish client certificate with its private key
LicenceA valid DevmanExtensions licence for this product

The Swish agreement, its fees and the Swish certificate are arranged with your bank and Swish. They are not part of the extension licence. Swish certificates explains how the certificate is obtained.

How this manual is organised

  • Installation covers each OpenCart version, updating and uninstalling.
  • Licence activation explains the licence screen you see the first time you open the extension.
  • Swish certificates describes the steps with your bank and Swish before the extension can take payments.
  • Settings explains every field of the General and Translations tabs.
  • Payments and refunds shows what your customers see and how refunds work.
  • Troubleshooting lists the usual problems and their fix.

Quick start

  1. Get your Swish number and certificate from your bank and Swish. See Swish certificates.
  2. Install the package for your OpenCart version. See Installation.
  3. Open the extension and validate your licence.
  4. On the General tab, enter your Swish Number, upload the certificate and the key, choose Payment mode and Order status completed, and set Status to on.
  5. Press Save.
  6. Make a small purchase in SEK and check that the order reaches the status you chose.

Still need help?

Open a support ticket from your account and our team will look at your store with you.