Skip to content

Installation

Olivia Felsberger edited this page Oct 15, 2019 · 30 revisions

Requirements

Install/activate on your web server:

  • Web Server (Apache suggested)
  • PHP 5.6+
  • Database (MySQL suggested)
  • Magento 2
  • Git
  • Composer

Install the following PHP libraries/modules:

  • simplexml
  • cURL
  • ZIP
  • zlib
  • GD Library
  • mcrypt
  • mbstrings
  • XML
  • Intl
  • DOM
  • Hash
  • OpenSSL
  • soap
  • spl
  • json
  • iconv

We also recommend to add Composer to your PATH, e.g. apt-get install -y git
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

Installing the Extension

  1. Navigate to the root directory of the Magento 2 shop, e.g. cd /var/www/html/
  1. Add the dependency via Composer:
    composer require wirecard/magento2-ee

    Composer has now added the extension files to the vendor folder. The Wirecard Magento 2 Extension is installed, but disabled.

  1. Enable the extension and update the database schema:
    php bin/magento setup:upgrade

  2. Run the Magento 2 compiler:
    php bin/magento setup:di:compile

    php bin/magento cron:install

    php bin/magento indexer:reindex

    php bin/magento cache:flush
    (if you execute this command as root, make sure to have access rights to the folders)

    Make sure that cronjobs are running. Depending on your operating system, this can be done with service cron reload and service cron start

  3. To verify the successful installation, invoke the command php bin/magento module:status

    The command should list Wirecard_ElasticEngine among the enabled extensions.

    • You may also view the file app/etc/config.php to see which extensions are enabled. If the Wirecard Magento 2 Extension is enabled, the file contains an entry like Wirecard_ElasticEngine => 1
  1. The extension is preconfigured with default test data, so you are ready to initiate your first test payment. However, we recommend to adapt the configuration to your needs.

  2. Configure the extension separately for each payment method.

If you encounter any problems, you might consider a composer update.

Clone this wiki locally
You can’t perform that action at this time.