msts/trevipay-magento

TreviPay Magento 2 Module

Installs: 3 315

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 4

Forks: 0

Open Issues: 0

Type:magento2-module

1.1.13 2023-09-18 02:43 UTC

README

Requirements

  • Magento 2
  • PHP 7.1 or higher (7.2+ recommended)

Installation

Using Composer

Install the MSTS TreviPayMagento module with the following command:

composer require msts/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 msts/trevipay-magento

Then flush the Magento cache as above.

Recompile as above if running in production mode.

Testing

Run Tests

./vendor/bin/phpunit

License

MPL 2.0