This plugin supports the Trust Enterprise Platform which can be identified by the URL for the platform ep.trustpayments.com.
TrustPayments Payment for Shopware 6
The TrustPayments Payment plugin wraps around the TrustPayments API. This library facilitates your interaction with various services such as transactions. Please not this plugin is for version 6.5. For the 6.4 plugin please visit https://github.com/TrustPayments/shopware-6-4
Requirements
- PHP 7.4 - 8.1
- Shopware 6.5.x
Installation
You can use Composer or install manually
Composer
The preferred method is via composer. Follow the installation instructions if you do not already have composer installed.
Once composer is installed, execute the following command in your project root to install this library:
composer require trustpayments/shopware-6
php bin/console plugin:refresh
php bin/console plugin:install --activate --clearCache TrustPaymentsPayment
Update via composer
composer update trustpayments/shopware-6
php bin/console plugin:refresh
php bin/console plugin:install --activate --clearCache TrustPaymentsPayment
Manual Installation
Alternatively you can download the package in its entirety. The Releases page lists all stable versions.
Uncompress the zip file you download, and include the autoloader in your project:
# unzip to ShopwareInstallDir/custom/plugins/TrustPaymentsPayment
composer require trustpayments/sdk 3.2.0
php bin/console plugin:refresh
php bin/console plugin:install --activate --clearCache TrustPaymentsPayment
Usage
The library needs to be configured with your account's space id, user id, and application key which are available in your TrustPayments account dashboard.
Logs and debugging
To view the logs please run the command below:
cd shopware/install/dir
tail -f var/log/trustpayments_payment*.log
Documentation
License
Please see the license file for more information.