Overview
What the Swish för handel module does in your PrestaShop checkout, what you need from your bank and server, and how this manual is organised.
What the module does
Swish för handel adds Swish as a payment method to your PrestaShop checkout. Your customers pay in Swedish kronor (SEK) with the Swish app, and the order is confirmed only after Swish has verified the payment with your bank.
- Three ways to pay: the customer enters a phone number and approves the payment in the Swish app on that phone, scans a QR code on a computer, or opens the Swish app directly on a mobile phone. You choose which ways to offer.
- Native PrestaShop orders: the module creates the order in an unpaid status before contacting Swish and moves it to your paid status once the bank confirms the payment.
- Bank-verified payment status: neither the customer's browser nor the message Swish sends to your shop decides that an order is paid. The module asks Swish itself and checks that the amount, currency, reference and merchant number match.
- Full and partial refunds to your customers, sent to Swish from the back office.
- Merchant certificate management: upload the certificate your bank issued, or create a certificate request in the module and renew it before it expires.
- Payments and reconciliation: a filterable list of every payment, CSV export, an audit log and manual verification with the bank.
- Your own checkout texts in every language of your shop.
What you need
| Requirement | Details |
|---|---|
| PrestaShop | 1.7.8 to 9.x. Tested on PrestaShop 1.7.8.11 (PHP 7.4), 8.2.8 (PHP 8.1) and 9.2.0 (PHP 8.5). |
| PHP extensions | curl and openssl. Without them the installation stops. |
| Swish agreement | A Swish Handel (Swish för handel) agreement with your bank, and your Swish merchant number. |
| Merchant certificate | The client certificate for your merchant number, from Swish Certificate Management. You can create the request in the module. |
| Currency | Swedish krona (SEK) enabled in your shop. Swish is only offered for carts in SEK. |
| HTTPS | Your shop must run on HTTPS on the standard port 443 for live payments, so that Swish can send payment updates to it. |
| Private folder | A folder outside your public web directory where the module keeps certificates. It is created automatically when the server allows it. |
No merchant credentials are included in the module. The test environment of Swish (MSS) lets you test the whole flow without real money.
Version documented
This manual describes version 2.5.0 of Swish för handel for PrestaShop. The version number is shown next to the module's name at the top of its screen.
How this manual is organised
| Chapter | What you find |
|---|---|
| Installation | Installing, updating and uninstalling the module. |
| Licence activation | Activating the module, support and downloads. |
| Quick start | From installation to a first test payment and then live payments. |
| Settings | The General settings, Order statuses and Translations tabs. |
| Merchant certificate | Uploading, creating and renewing the certificate, and Setup diagnostics. |
| Checkout and payments | What the customer sees, payment states, and the Payments and reconciliation tab. |
| Refunds | Refunding a payment in full or in part. |
| Troubleshooting | Frequent problems and how to solve them. |
Still need help?
Open a support ticket from your account and our team will look at your store with you.