payplug / payplug-magento2
Payplug Payments module for Magento 2
Installs: 23 942
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 9
Forks: 3
Open Issues: 4
Type:magento2-module
Requires
- php: >=8.1
- giggsey/libphonenumber-for-php: ^8.10
- magento/framework: 102.0.*|103.0.*
- magento/module-checkout: 100.3.*|100.4.*
- magento/module-payment: 100.3.*|100.4.*
- magento/module-sales: 102.0.*|103.0.*
- payplug/payplug-php: ^3.2.0
- dev-master
- 4.1.0
- 4.0.0
- 3.5.5
- 3.5.4
- 3.5.3
- 3.5.2
- 3.5.1
- 3.5.0
- 3.4.1
- 3.4.0
- 3.3.3
- 3.3.2
- 3.3.1
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.0.0
- 1.27.4
- 1.27.3
- 1.27.2
- 1.27.1
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.1
- 1.24.0
- 1.23.1
- 1.23.0
- 1.22.0
- 1.21.2
- 1.21.1
- 1.21.0
- 1.20.1
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.1
- 1.16.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.4
- 1.5.2
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.0
- dev-feature/MAG-413
- dev-release/v4.2.0
- dev-release/v4.2.0_qa
- dev-release/v4.2.0_test
- dev-MAG-369
- dev-feature/MAG-402
- dev-feature/MAG-394
- dev-develop
- dev-MAG-315
- dev-qa
- dev-MAG-368
- dev-MAG-316
- dev-MAG-354
- dev-multi-account-test
- dev-dev-new
This package is auto-updated.
Last update: 2024-12-18 13:22:01 UTC
README
Installation
Installation via Magento Back Office
You can follow Magento’s instruction provided at https://devdocs.magento.com/guides/v2.3/comp-mgr/extens-man/extensman-main-pg.html
Installation via composer
Composer
How to get Composer : Please follow instructions on https://getcomposer.org/download/
How to update your Composer version : Please follow instructions on https://getcomposer.org/doc/03-cli.md#self-update-selfupdate-
Installation
Run the following commands in Magento root directory:
composer require payplug/payplug-magento2 # (*)
composer install
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). Login = Public Key Password = Private Key
(**) With the languages option, you can define for which language you want to generate your static content. Languages should be separated with a space. For example, to generate content for locales en_US and fr_FR, you can run the command:
php bin/magento setup:static-content:deploy en_US fr_FR
(***) If you are not running on production mode, use the --force option. Otherwise the command will fail. For example, to generate content for locales en_US and fr_FR, you can run the command:
php bin/magento setup:static-content:deploy --force en_US fr_FR # --force # if you are not running on production mode
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:^3.0
You will then need to install another library which we use to normalize the customers' phone number
composer require giggsey/libphonenumber-for-php:^8.10
Update Payplug Payments Module
Run the following commands in Magento root directory:
composer require --update-with-all-dependencies payplug/payplug-magento2:VERSION_YOU_WANT_TO_UPDATE_TO # (*)
composer install
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy <languages> # (**)
php bin/magento cache:clean
(*) To determine which value for VERSION_YOU_WANT_TO_UPDATE_TO
, you can check out our last releases
For example, you can run:
composer require --update-with-all-dependencies payplug/payplug-magento2:^1.5
(**) With the languages option, you can define for which language you want to generate your static content. Languages should be separated with a space. For example, to generate content for locales en_US and fr_FR, you can run the command:
php bin/magento setup:static-content:deploy en_US fr_FR