trevipay / trevipay-magento
TreviPay Magento 2 Module
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~7.1.3 || >=7.2.0 || ~7.3.0
- firebase/php-jwt: ^5.4
- guzzlehttp/guzzle: ^6.0
- magento/framework: ^102.0.3 || 103.0.*
- magento/module-checkout: 100.3.* || 100.4.*
- magento/module-payment: 100.3.* || 100.4.*
- magento/module-sales: ^102.0.3 || 103.0.*
- paragonie/sodium_compat: ^1.17
- ramsey/uuid: ^3.8 || ^4.0
- trevipay/trevipay-php: ^1.0.4
Requires (Dev)
- magento/magento-coding-standard: ^5.0
- mockery/mockery: ^1.4
- phpunit/phpunit: ^9.5.6
- squizlabs/php_codesniffer: 3.*
README
Requirements
- Magento 2
- PHP 7.1 or higher (7.2+ recommended)
Installation
Using Composer
Install the TreviPay TreviPayMagento module with the following command:
composer require trevipay/trevipay-magento
If your php is < 7.2 or does not have libsodium
installed, install the paragonie/sodium_compat
package from composer:
composer require paragonie/sodium_compat
Run the Magento upgrade command:
php ./bin/magento setup:upgrade
Then flush the Magento cache:
php ./bin/magento cache:flush;
php ./bin/magento cache:clean;
If you are running Magento 2 in production mode, you will also be required to run compilation and static content deployment steps:
php ./bin/magento setup:di:compile;
php ./bin/magento setup:static-content:deploy;
How to update
Run the Composer update command:
composer update trevipay/trevipay-magento
Then flush the Magento cache as above.
Recompile as above if running in production mode.
Testing
Run Tests
./vendor/bin/phpunit