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.
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.
Navigate to your Magento folder and download the module with composer:
composer require scanpay/magento2
Enable the module and clear the static view files:
php bin/magento module:enable Scanpay_PaymentModule --clear-static-content
Register the extension:
php bin/magento setup:upgrade
Recompile your Magento store with the new module:
php bin/magento setup:di:compile
Verify that the extension is enabled:
php bin/magento module:status
Now that you have installed the module, you must configure it.
Enter your magento admin panel and navigate to
Stores > Configuration > Sales > Payment Methodsand select the Scanpay Payment Module:
- Enable the module
Locate the API-key field and copy an API-key from the dashboard into the field:
Press 'Save changes' to finalize the configuration process. A Scanpay payment method should now appear upon checkout.
Copy the content of the Ping URL field into the callback address field here.
Pressing the 'ping' button should now cause a ping to register in the Magento 2 Scanpay configuration, making the ping URL box green.