Docs ยป E-commerce modules Edit on GitHub

E-commerce modules

Scanpay has developed modules to enable easy integration with the most popular e-commerce platforms.

Magento 2

The Magento 2 module will be available in the Magento Marketsplace at a future date. Until then you can install the extension manually by going through the following steps:

Manual Installation

  1. Download the module here.
  2. Navigate to your Magento 2 root folder and copy the downloaded folder content to the app/code/Scanpay/PaymentModule.
  3. Navigate to your Magento 2 root folder and run the following commands starting from the top:

    php bin/magento module:enable Scanpay_PaymentModule php bin/magento setup:upgrade php bin/magento setup:di:compile

Configuration

Now that you have installed the Scanpay Payment Module, you must configure it.

  1. Enter your magento admin panel and navigate to Stores > Configuration > Sales > Payment Methods and select the Scanpay Paymen Module
    Magento configuration Magento navigation
  2. Enable the module
  3. Locate the API-key field and copy an API-key from the dashboard into the field (see below).
    Scanpay: Magento API key
  4. Press 'Save changes' to finalize the configuration process. A Scanpay payment method should now appear upon checkout.
  5. Copy the content of the Ping URL field into the callback address field here.
  6. Pressing the 'ping' button should now cause a ping to register in the Magento 2 Scanpay configuration, making the ping URL box green.

WooCommerce

Installation

You can install the WooCommerce module directly from your Wordpress admin. Login to your Wordpress admin and navigate to Plugins > Add New. Search for 'scanpay' and you should see the following plugin:

Install Scanpay in WooCommerce Admin

Configuration

  1. Navigate to Plugins > Installed Plugins.
  2. Find the 'Scanpay for WooCommerce' plugin in the list and press 'Activate'.
  3. A 'Settings' link should now appear where the 'Activate' link was before. Press it.
  4. Enter a Scanpay API key in the API key field. You can find your API key here. Scanpay API key
  5. Press 'Save changes' to finalize the configuration process. A Scanpay payment method should now appear upon checkout.
  6. Copy the content of the Ping URL field into the dashboard "Your Ping URL" field at https://dashboard.scanpay.dk/settings/api and save it.
  7. Pressing the 'ping' button should now cause a ping to register in the WooCommerce configuration, making the ping URL box green.

OpenCart

This module works for OpenCart version 3.0 or newer.

Installation

  1. Download the OpenCart Scanpay extension here.
  2. Enter the admin and navigate to Extensions > Installer.
  3. Click "Upload" and select the file you just downloaded (See below). Upload module to your OpenCart shop
  4. Navigate to Extensions > Extensions and change extension type to "Payments".
  5. Find "Scanpay" and press "Install".

Configuration

  1. Enter the admin, navigate to Extensions > Extensions" and change extension type to "Payments.
  2. Find "Scanpay" and press "Edit".
  3. Set status to "Enabled"
  4. Locate the API-key field and copy an API-key from the dashboard into the field.
  5. Copy the content of the Ping URL field into the corresponding field in the Scanpay dashboard and save it.
  6. Return to the OpenCart admin and press "Save" in the upper right corner.

PrestaShop

This module works for PrestaShop version 1.7 or newer.

Installation

  1. Download the PrestaShop Scanpay extension here.
  2. Enter the PrestaShop admin and navigate to Modules.
  3. Click the UPLOAD A MODULE button and select the zip file you just downloaded.

Configuration

  1. Enter the admin, navigate to Modules and press the Installed modules tab.
  2. Find "Scanpay" and press CONFIGURE.
  3. Locate the API-key field and copy an API-key from the dashboard into the field.
  4. Copy the content of the Ping URL field into the corresponding field in the Scanpay dashboard and Save it. After saving press the Test Ping button.
  5. Return to the PrestaShop admin and press the Save button in the lower right corner.
  6. Verify that the previously yellow box below Ping URL has turned green and says "Ok!".
  7. Navigate away to Payment>Preferences in the left sidebar. Scroll down to "Country Restrictions" and enable Scanpay for the countries you see fit, then press Save. Now scroll down to "Carrier Restrictions" and enable Scanpay for all carriers and press Save.