kommandhub / flutterwave-v3-sw
Integrates the Flutterwave payment gateway into Shopware 6.
Package info
github.com/KommandHub/flutterwave-v3-sw
Type:shopware-platform-plugin
pkg:composer/kommandhub/flutterwave-v3-sw
Requires
- kommandhub/flutterwave-v3: ^1.0
- shopware/core: ~6.6.0 || ~6.7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.94
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^11.5
- rregeer/phpunit-coverage-check: ^0.3.1
- shopware/dev-tools: ^1.5
This package is auto-updated.
Last update: 2026-03-23 13:08:05 UTC
README
Flutterwave for Shopware 6
Integrate Flutterwave's secure and flexible payment gateway into your Shopware 6 store. Accept payments globally with ease.
Features
- Seamless Integration: Easy setup within the Shopware 6 ecosystem.
- Global Payments: Accept a wide range of payment methods supported by Flutterwave (Cards, Bank Transfers, Mobile Money, etc.).
- Sandbox & Live Modes: Safely test your integration before going live.
- Detailed Logging: Optional debug logging for easier troubleshooting.
- Automated Verification: Real-time payment verification and order status updates.
Installation
Via Composer (Recommended)
Run the following command in your Shopware root directory:
composer require kommandhub/flutterwave-v3-sw bin/console plugin:refresh bin/console plugin:install --activate KommandhubFlutterwaveV3SW bin/console cache:clear
Manual Installation (GitHub Upload)
-
Download the Plugin: Download the ZIP file from your repository.
-
Ensure correct structure:
KommandhubFlutterwaveV3SW.zip └── src/ └── composer.json -
Upload to Shopware:
- Log in to your Shopware Admin.
- Go to Administration > Extensions > My extensions.
- Click Upload extension and select the ZIP file.
-
Install and Activate:
- Locate Flutterwave for Shopware in the list.
- Click Install.
- After installation, toggle the switch to Activate it.
Configuration
After activation, configure the plugin under Extensions > My extensions > Flutterwave for Shopware > ... > Configuration:
- Environment: Choose between
Sandbox(for testing) andLive. - API Keys:
- Enter your Public Key and Secret Key from the Flutterwave Dashboard.
- Debug Mode: Enable "Enable error logging" to capture detailed logs in
var/log/.
Usage
Once configured, Flutterwave will appear as a payment method during the checkout process:
Customer Experience
- Select Payment Method: On the "Review Order" or "Payment Method" page, customers choose Flutterwave.
- Place Order: Upon clicking "Place order", customers are redirected to the secure Flutterwave payment portal.
- Complete Payment: Customers provide their payment details (Card, Bank, Mobile Money, etc.) on the Flutterwave hosted page.
- Return to Store: After a successful or failed payment, customers are automatically redirected back to your Shopware store's "Order Confirmation" or "Payment Failed" page.
Order Management (Admin)
- Payment Status: The order's payment status is automatically updated based on the Flutterwave transaction outcome:
- Paid: Successfully verified transaction.
- Cancelled: Customer aborted the payment on the Flutterwave page.
- Failed: Transaction was declined or an error occurred.
- Transaction References: Each order will include the Flutterwave
tx_refandtransaction_idfor easy reconciliation in the Shopware Admin and your Flutterwave Dashboard.
Development and Testing
The plugin includes a Makefile for common development tasks.
# Run tests make test # Check code coverage make test-coverage # Fix code style make cs-fix
Contributing
- Fork the repository.
- Create a feature branch.
- Ensure tests pass and code style is maintained.
- Submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.