Type
magento2-module
Payplug Payments module for Magento 2
magento2-module
OSL-3.0
None
None
None
None
None
You can follow Magento’s instruction provided at https://devdocs.magento.com/guides/v2.3/comp-mgr/extens-man/extensman-main-pg.html
Run the following commands in Magento root directory:
composer require payplug/payplug-magento2 # (*)
php bin/magento module:enable Payplug_Payments --clear-static-content
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy <languages> # (**)
php bin/magento cache:clean
(*) If you didn’t save them when you installed Magento 2, this command will ask for your Magento authentication keys (https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html).
(**) With the languages
option, you can define for which language you want to generate your static content. Languages should be separated with a space.
If you are not running on production mode, use the --force
option. Otherwise the command will fail.
Troubleshooting:
If you get a missing class error message while following the install process:
[ReflectionException] Class Payplug\Authentication does not exist
It’s likely that the Payplug PHP library was not installed along with the Magento module. This will happen if you did not run composer to install the module. To fix it, you should require the missing dependency with composer :
composer require payplug/payplug-php