Swish payment gateway

Write a review
Accept Swish Mobile Payments payments in your CS-Cart store via Swish. Secure redirect-based checkout for merchants in Sweden.
$99.00

CartModules: Swish Payment Gateway

Accept Swish payments in your CS-Cart store. Swish is Sweden's leading mobile payment service with over 9 million active users. Let your Swedish customers pay instantly using the Swish app on their smartphones.

Why Swish?

  • 9+ million users -- Swish is used by the vast majority of Sweden's adult population
  • Instant payments -- Funds are transferred in real-time via Bankgirot
  • High conversion -- Familiar, trusted payment method for Swedish shoppers
  • Low friction -- Customers approve payments with a single tap in their app
  • Low fees -- Competitive merchant fees compared to card payments

Key Features

Swish E-commerce API v2

Built on the latest Swish for Merchants API with full e-commerce flow support. Creates payment requests that trigger push notifications to customers.

mTLS Security

Uses mutual TLS (client certificate) authentication as required by Swish. Your certificate credentials never leave your server.

Async Callbacks

Server-to-server callbacks ensure reliable payment status updates even if the customer closes their browser.

Sandbox Support

Full sandbox/test mode support. Develop and test your integration before going live using Swish test certificates.

Status Mapping

Configure which CS-Cart order status maps to each Swish payment outcome (PAID, DECLINED, ERROR, CANCELLED).

Idempotent Processing

Duplicate callbacks are handled gracefully. Already-processed orders are never re-processed, preventing double charges.

How It Works

  1. Customer selects Swish at checkout and confirms the order.
  2. Your store creates a payment request via the Swish API.
  3. Customer receives a push notification in their Swish app.
  4. Customer opens Swish, reviews the payment details, and approves.
  5. Swish sends a server callback confirming the payment status.
  6. Your store automatically updates the order to Processed.

Requirements

Requirement Details
CS-Cart Version 4.x (ROOT, ULTIMATE, or Multi-Vendor edition)
PHP Version 7.1 or later
Swish Agreement Swish for Merchants (E-commerce) agreement with a Swedish bank
Client Certificate .p12 or .pem certificate issued by Swish / your bank
Server OpenSSL and cURL with TLS 1.2+ support
Currency SEK (Swedish Krona) must be configured in your store
Callback Access Your store must be reachable from external servers (Swish callbacks)

Configuration

Setting Description
Payment Mode Switch between Live and Test (Sandbox) environments
Merchant Swish Number Your 10-digit Swish number (e.g. 1234679304)
Certificate Path Absolute server path to the client certificate file
Certificate Password Passphrase for the certificate (if applicable)
Order Status Mapping Customizable CS-Cart status for each Swish outcome (PAID, DECLINED, ERROR, CANCELLED)

Installation

  1. Go to Add-ons > Manage add-ons, click Manual installation, and upload the addon zip
  2. Activate the addon and enter the license key
  3. Go to Administration > Payment methods and create a new payment method with the Swish processor.
  4. Enter your Swish merchant number, certificate path, and passphrase.
  5. Test using sandbox mode, then switch to live when ready.

Security

  • All API communication uses TLS 1.2+ with mutual TLS (client certificate authentication).
  • SSL peer verification is always enabled -- never disabled.
  • Certificate paths and passwords are never logged in plain text.
  • No customer card data is handled (PCI SAQ A compliant).
  • All database queries use parameterized placeholders.
  • All user input is type-cast and sanitized.
  • Callbacks are idempotent -- duplicate notifications are handled safely.
Billing Type:
Lifetime
Compatible versions:
  • 4.10.1
  • 4.10.2
  • 4.10.3
  • 4.10.4
  • 4.10.4.SP1
  • 4.11.1
  • 4.11.2
  • 4.11.3
  • 4.11.4
  • 4.11.5
  • 4.12.1
  • 4.12.2
  • 4.13.1
  • 4.13.2
  • 4.13.2.SP1
  • 4.13.2.SP2
  • 4.13.3
  • 4.14.1
  • 4.14.1.SP1
  • 4.14.2
  • 4.14.2.SP1
  • 4.14.3
  • 4.14.3.SP1
  • 4.15.1
  • 4.15.1.SP1
  • 4.15.1.SP2
  • 4.15.1.SP3
  • 4.15.1.SP4
  • 4.15.2
  • 4.16.1
  • 4.16.2
  • 4.17.1
  • 4.17.2
  • 4.17.2.SP1
  • 4.17.2.SP2
  • 4.17.2.SP3
  • 4.18.1
  • 4.6.3
  • 4.7.1
  • 4.7.2
  • 4.7.3
  • 4.7.4
  • 4.8.1
  • 4.8.2
  • 4.9.1
  • 4.9.2
  • 4.9.3
Localizations:
  • English
Payment type:
One-time payment
Product:
  • Multi-Vendor
  • Multi-Vendor Plus
  • Multi-Vendor Ultimate
  • Store Builder
  • Store Builder Plus
  • Store Builder Ultimate

Addons features

Development:
  • Backend
  • Frontend
Recipient:
  • For customer
  • For owner
  • For vendor
Server Update:

Shared features

External ID:
Cartmodules-Almapay
License number prefix:
CARTMODULES
On market:

No reviews found

FAQ Block