kommandhub/flutterwave-v3-sw
最新稳定版本:1.0.0
Composer 安装命令:
composer require kommandhub/flutterwave-v3-sw
包简介
Integrates the Flutterwave payment gateway into Shopware 6.
关键字:
README 文档
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.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-22