abdelkebir / magento2-safepay

Safepay payment gateway module for Magento 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Safepay Extension for Magento 2

Safepay

Pre-Installation

Before any installation put your Magento store in developer mode, to do that please go to the Magento folder and run the following command:

php bin/magento deploy:mode:set developer

Next turn off Magento cache:

php bin/magento cache:disable

Now you're ready for the installation.

Installation

Uploading Files

You can download as "zip" file and unzip Safepay extension:

Download az zip

or clone this repository by the following commands:

git clone https://github.com/abdelkebir/magento2-safepay.git

Please create the folder app/code/Godogi/Safepay and copy all files which you have downloaded to it.

The code directory would be like this:

Directory architecture

Magento CLI

To complete the installation open your terminal, change to magento root directory and use command line :

cd [magento 2 root folder]

php bin/magento setup:upgrade

After that, if your website is in the production mode, please run the command:

php bin/magento setup:static-content:deploy

Configuration

Log in to your Magento admin panel, go to STORES > Configuration:

STORES > Configuration

Then go to SALES > Payment Methods:

Directory architecture

You will find Safepay configuration block under Safepay tab:

Directory architecture

In this form you need to add your Safepay sandbox and production keys, you can also enable or disable this module and change the module title on checkout. Remember to save your configuration.

About

Safepay payment gateway module for Magento 2

License:MIT License


Languages

Language:PHP 53.1%Language:JavaScript 33.4%Language:HTML 13.5%