- Go to the directory
{shop-root}/source/modulesand create there a new folder named ratepay - Copy all files of the Ratepay Payment Plugin into your new folder.
- Add some autoload configuration to the composer.json file which is located in the root folder of your OXID shop:
"autoload": { "psr-4": { "pi\\ratepay\\": "./source/modules/pi/ratepay", "Ratepay\\": "./source/modules/pi/ratepay/vendor/ratepay/php-library/src" } }, - Connect again via ssh to the server where to find your shop installation and the vendor folder
- Generate the required autoloader files by executing the following command:After successful execution you should get these responses:
vendor/bin/composer dump-autoloadGenerating autoload filesGenerated autoload files - Create the configuration files for your new Ratepay extension by executing the following command:
vendor/bin/oe-console oe:module:install-configuration source/modules/pi/ratepay - Apply the recently created configuration by executing the following command:
vendor/bin/oe-console oe:module:apply-configuration - Now empty the tmp and cache folders
...go ahead by reading the Setup and activation instructions.