Edit on GitHub

Magento 2

We have developed a payment module for Magento 2. Magento is an open-source e-commerce platform written in PHP and owned by Adobe. The module is uploaded to Packagist and the source code is available at GitHub.

Installation

You can install the module with Composer or by manually uploading the files. Magento recommends that you use Composer to install and maintain extensions. You can find a guide on how to install composer here.

  1. Navigate to your Magento folder and download the module with composer:

    composer require scanpay/magento2
  2. Enable the module and clear the static view files:

    php bin/magento module:enable Scanpay_PaymentModule --clear-static-content
  3. Register the extension:

    php bin/magento setup:upgrade
  4. Recompile your Magento store with the new module:

    php bin/magento setup:di:compile
  5. Verify that the extension is enabled:

    php bin/magento module:status

Configuration

Now that you have installed the module, you must configure it.

  1. Enter your magento admin panel and navigate to Stores > Configuration > Sales > Payment Methods and select the Scanpay Payment 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:

    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.