Skip to content
PrestaShop · User manual

Swish för handel for PrestaShop

Version 2.5.0 Product page
Chapter 5

Settings

Every field of the General settings, Order statuses and Translations tabs, with their defaults and recommendations.

The Swish screen has these tabs: General settings, Order statuses, Translations, Merchant certificate, Setup diagnostics, Payments and reconciliation, Refunds, Support and Changelog - Downloads. Each settings tab has its own Save settings button, which saves the settings of all three tabs at once. Settings are stored per shop; select one shop in the back office first.

General settings

SettingWhat it does
Checkout methodHow customers can pay. Phone, mobile app and QR (default): a phone number is optional; with a number the request goes to that phone, without one the customer scans a QR code or opens the app. Phone number required: the customer must enter the number of the phone with Swish. Mobile app and QR only: no phone field is shown.
Additional redacted bank diagnosticsRecords in the audit log the type of each call to Swish and the HTTP code it returned, without personal data. Enable it while you investigate a problem. Disabled by default.
Enable new Swish paymentsShows Swish at checkout. When disabled, no new payments start, but payments already sent are still completed and reconciled. Disabled after installation.
EnvironmentOfficial MSS test: Swish's test environment, no real money (default). Production: live payments with your bank. Demo simulation is only available in the public demonstration shops and is greyed out in yours.
Swish merchant numberYour Swish number for businesses, 8 to 15 digits. Required to enable payments.
Checkout titleThe name of the payment option at checkout. Default "Swish". Up to 50 characters.
Payment messageThe text the customer sees in the Swish app with the payment. Default "Order". Up to 50 characters: letters, digits, å, ä, ö, spaces and !?(),.-:;.
Allowed countries (ISO codes)Countries of the invoice address for which Swish is offered, as two-letter codes separated by commas. Default SE.
Minimum SEK / Maximum SEKOrder total range for which Swish is offered. Defaults 0.01 and 100000.00.

Swish is shown at checkout only when all of these are true: payments are enabled, the module's licence is active, the cart is in SEK, the invoice country is allowed and the total, including tax, discounts and shipping, is within the range.

When you enable payments, the module checks the configuration before saving: a merchant number and a valid certificate are required, and Production requires your shop to use HTTPS on port 443.

Order statuses

SettingWhat it does
Pending order stateThe status of the order while it waits for the payment. Default Awaiting Swish payment, created by the module. It must be an unpaid status that creates no invoice and sends no email.
Paid order stateThe status set when Swish confirms the payment. Default: your shop's payment accepted status. It must be a status that registers the order as paid.
Cancelled order stateThe status set when the payment fails or is cancelled. Default: your shop's cancelled status. It must be unpaid.

Bank error statuses

Under Bank error statuses you can give a specific unpaid status to each error code Swish may return, for example to tell a declined payment from a customer who cancelled. Each list offers Use cancelled order state, the default, and your unpaid order statuses.

The codes are those of the Swish API: FF08, RP03, BE18, RP01, PA02, AM06, AM02, AM03, RP02, RP06, ACMT03, ACMT01, ACMT07, RF07, BANKIDCL, FF10, TM01 and DS24. Their meaning is described in the Swish developer documentation.

Changes to statuses apply to new payment requests. A payment already in progress keeps the statuses that were configured when it started.

Translations

The Translations tab lets you change the 17 texts of the Swish checkout for each language of your shop.

  1. Choose the language in Shop language.
  2. Type your text in the fields you want to change. The grey text in each empty field is the standard text, which is used when you leave it empty.
  3. Press Save settings.

Texts are plain text: HTML is not allowed. Checkout title can be up to 50 characters, the others up to 500.

FieldWhere it appears
Checkout titleName of the payment option. Overrides the general Checkout title for this language.
Payment instructionsText under the payment option.
Phone number labelLabel of the phone field.
Phone validation errorMessage for a phone number that is not valid.
Payment page headingHeading of the payment page.
Open app labelButton that opens the Swish app on a mobile phone.
QR instructionsText that describes the QR code.
Check payment labelButton to check the payment status.
Cancel payment labelButton to cancel the payment.
View order labelButton to open the order once it is paid.
Waiting messageStatus while Swish waits for the customer.
Connecting messageStatus while the module contacts Swish.
Paid messageStatus when the payment is verified.
Failed payment messageStatus when the payment was not completed.
Cancelled payment messageStatus when the payment was cancelled.
Manual review messageStatus when the payment needs your review.
Payment footer noteNote at the bottom of the payment page.

Still need help?

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