Installing and Updating the Magento 2 Integration

The Magento version 2 integration is optimized for Magento Community Edition 2.1.9. For integrations using earlier versions, contact customer support.

Magento also requires:

  • Linux x86-64
  • PHP - for Magento 2.0.x, use versions 5.5.22-5.5.x, 5.6.x, 7.0.2, 7.0.6-7.0.x, for Magento 2.1.x, use versions 5.6.5-5.6.x, 7.0.2, 7.0.4, 7.0.6-7.0.x
  • MySQL 5.6 database. Magento 2.1.2 and above is compatible with MySQL 5.7
  • Apache 2.2 or 2.4 web server, or nginx 1.8

Installing Magento

The integration is distributed as a zip file provided by Paysafe, which you must download and install. If you already have the integration installed, see Updating Magento.

  1. Download the ZIP file from Paysafe. (See Magento Zip File History to see when Paysafe has updated its Magento integration.)
  2. Unzip the file into a temporary folder.
  3. Configure the component files and folders according to the current status of the Magento group and user access rights.
  4. Copy the contents of the src folder into the Magento main folder, overwriting the existing files/folders.
  5. Open a command prompt window and within it navigate to the Magento main folder. For example:
    cd /var/www/magento
  6. Run these commands:
    php bin/magento module:enable Paysafe_Paysafe
    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy
  7. Clean the Magento cache by entering:
    php bin/magento cache:clean

The Paysafe Magento integration ZIP file is provided as is and has not been tested to work with other integrations or add-ons.

Updating Magento

If you already have a Magento integration installed, update it in the following way:

  1. Copy the contents of the src folder into the Magento main folder, overwriting the existing files/folders.
  2. Open a command prompt window and within it navigate to the Magento main folder. For example:
    cd /var/www/magento
  3. Run the following commands:
    sudo rm -rf var/generation/*
    sudo rm -rf pub/static/*
    php bin/magento setup:upgrade
    php bin/magento setup:staticcontent:deploy
  4. Change the folder and file permission:
    sudo chmod 755 –R <Magento_main_folder>
  5. For example:
    sudo chmod 755 –R /var/www/magento
  6. Clean the Magento cache by entering:
    php bin/magento cache:clean

You can now configure the Magento integration.

Magento Zip File History

File Name Date
Paysafe_Magento2_V2.0.6.zip October 2, 2018
Paysafe_Magento2_V2.0.2.zip May 18, 2018
paysafeMagento1.9.zip May 10, 2018
Did you find this page useful?