Skip to content
PrestaShop · User manual

Swish för handel for PrestaShop

Version 2.5.0 Product page
Chapter 2

Installation

How to install Swish för handel with the PrestaShop Module Manager, update it safely and uninstall it.

Before you start

  • Back up your shop files and database, and test the module on a staging copy of your shop first if you can.
  • Check that the PHP extensions curl and openssl are enabled. Your hosting provider can confirm this.
  • Download the module ZIP file. If you bought it from DevmanExtensions, it is in your download centre. If you bought it on the PrestaShop Marketplace, download it from your Marketplace account.

Upload the ZIP as it is. Do not extract it and do not rename the folder swishforhandle inside it.

Install the module

The steps are the same in PrestaShop 1.7.8, 8.x and 9.x.

  1. In your PrestaShop back office go to Modules > Module Manager.
  2. Press Upload a module at the top of the page.
  3. Drop the ZIP file into the window, or press select file and choose it.
  4. Wait until PrestaShop confirms that the module is installed, then press Configure.

The module adds an entry called Swish under the Modules menu of the back office. The Configure button opens the same screen.

During installation the module creates an order status called Awaiting Swish payment. Orders wait in this status until Swish confirms the payment.

Purchases from the PrestaShop Marketplace

Upload the ZIP that you downloaded from your Marketplace account through Modules > Module Manager > Upload a module. Then activate it with your Marketplace purchase details, as described in Licence activation.

Check the payment preferences

Swish is offered only for carts in Swedish kronor:

  1. In International > Localization, check that the Swedish krona (SEK) is installed and active.
  2. In Payment > Preferences, check that Swish is allowed for the SEK currency and for the countries and carriers you want.

The countries where Swish is offered are also limited by the module's own Allowed countries (ISO codes) setting. See Settings.

Open the module for the first time

  1. Go to Modules > Swish.
  2. If your installation has several shops, select one shop in the shop selector at the top of the back office. Each shop has its own Swish settings.
  3. The first screen is Activate your license. Activate the module as explained in Licence activation.

New payments are disabled after installation. Nothing is shown at checkout until you enable Enable new Swish payments and save.

Update to a newer version

  1. Check the Payments and reconciliation tab for payments that are still pending, and let them finish first.
  2. Back up your files, your database and the private certificate folder.
  3. Go to Modules > Module Manager, press Upload a module and upload the new ZIP over the installed module.
  4. Open Modules > Swish and check your settings.

Settings, payment history, refund balances and stored certificates are kept during an update.

Updating from an earlier Swish module

If your shop used an older module with the technical name swishforhandle, this version takes over its name and keeps your existing orders. The module shows An earlier Swish setup was detected. Then:

  • Review the merchant number that was carried over.
  • Upload your merchant certificate again, so it is kept in private storage. See Merchant certificate.
  • Enable new payments only when the configuration is complete. They are disabled after the update.

The callback address of the earlier module is no longer used. Before updating, check with your bank any older payments that are still unsettled.

Uninstall

Settle every outstanding payment and refund first: a request still waiting at Swish can only be completed while the module is installed and active.

  1. Go to Modules > Module Manager and find Swish för handel.
  2. Open the menu next to the module button and choose Uninstall, then confirm.

PrestaShop shows Uninstall Swish? Payment history and certificate generations are retained. Settle outstanding payments before removing the module. The payment history and certificates stay stored, and your orders stay in PrestaShop.

To stop offering Swish temporarily, do not uninstall or disable the module: untick Enable new Swish payments instead. Payment updates for requests already sent keep working.

Still need help?

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