Skip to content
PrestaShop · User manual

Swish för handel for PrestaShop

Version 2.5.0 Product page
Chapter 4

Quick start

The shortest route from installation to a test payment in the Swish test environment, and then to live payments.

Test first with Swish MSS

MSS (Merchant Swish Simulator) is Swish's official test environment. It runs the real payment flow without moving money. The module starts in this environment.

  1. Install and activate. Follow Installation and Licence activation.
  2. Get the test certificate. Download the current MSS test certificate and its test merchant number from the Swish developer documentation.
  3. Fill in General settings. Open Modules > Swish. In General settings keep Environment on Official MSS test and type the test number in Swish merchant number.
  4. Upload the test certificate. In the Merchant certificate tab choose the .p12 file in PKCS#12 (.p12), type its password in Certificate password and press Upload certificate.
  5. Check the order statuses. In Order statuses keep the proposed statuses: Awaiting Swish payment for pending orders, your payment accepted status for paid orders and your cancelled status for cancelled ones.
  6. Enable payments. In General settings tick Enable new Swish payments and press Save settings.
  7. Run the diagnostics. In Setup diagnostics press Run diagnostics and Test bank connection without a payment. Fix any check marked with !.
  8. Place a test order. In your shop, add a product to the cart in SEK with a Swedish address and choose Swish. The checkout shows Official Swish test environment — no real payment. Complete the order and follow the payment page until it confirms the payment.
  9. Check the result. In the back office, the order is in your paid status, and the payment appears as paid in Payments and reconciliation.

Go live

  1. Get your agreement. Sign a Swish Handel agreement with your bank and note your merchant number.
  2. Get your production certificate. In Merchant certificate, open Guided certificate setup and renewal, create the certificate request and have it signed in Swish Certificate Management with your BankID. Then paste the issued certificate. See Merchant certificate. You can also upload a .p12 file your bank gave you.
  3. Switch to production. In General settings choose Production in Environment, type your own number in Swish merchant number and press Save settings.
  4. Check HTTPS. Live payments need your shop on HTTPS with the standard port. The module refuses to save Production otherwise.
  5. Run the diagnostics again and test the bank connection.
  6. Make a small real payment and refund it from the Refunds tab to check the whole cycle. See Refunds.

Still need help?

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