1 - Install the package with the following command:
composer require webexpert/direct
2 - Run the following commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:clean
3 - Please contact us if you encounter any issues during this process.
Stores > Configuration > Sales > Payment Methods > Other payment methods
Enable Slice, Credit and Direct plugins if desired.
For each plugin (Slice, Credit and Direct) set mode to either Test or Production.
For each plugin (Slice, Credit and Direct) set client secret.
Configure other settings like sort order, logo and restoring quote when canceled.
Save configuration.