定制 kommandhub/paystack-sw 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kommandhub/paystack-sw

最新稳定版本:1.0.0

Composer 安装命令:

composer require kommandhub/paystack-sw

包简介

Integrates the Paystack payment gateway into Shopware 6.

README 文档

README

License: MIT Shopware Payment

Shopware Paystack Logo

A modern Shopware 6 payment plugin that integrates Paystack, enabling merchants across Africa to accept secure online payments via multiple channels.

Developed with ❤️ by Kommandhub Limited

Table of Contents

Features

  • Seamless integration with Shopware 6 checkout
  • Secure Paystack hosted payment page
  • Automatic order transaction status updates
  • Built-in sandbox mode for testing
  • Optional debug logging for troubleshooting
  • Stores Paystack transaction references and metadata
  • Clean and native Shopware payment method integration

Supported Payment Channels

Depending on your Paystack configuration:

  • Debit & Credit Cards
  • Bank Transfers
  • USSD
  • QR Codes
  • Mobile Money (Ghana, Kenya, etc.)

Requirements

Installation

Via Composer (Recommended)

composer require kommandhub/paystack-sw
bin/console plugin:refresh
bin/console plugin:install --activate KommandhubPaystackSW
bin/console cache:clear

Manual Installation (GitHub Upload)

  1. Download ZIP from your repository

  2. Ensure correct structure:

    KommandhubPaystackSW.zip
    ├── src/
    ├── composer.json
    
  3. Upload via:

    Administration → Extensions → My Extensions → Upload Extension

  4. Install and activate plugin

Configuration

Navigate to:

Administration → Extensions → My Extensions → Paystack → Configuration

Live Mode

  • Enter Live Secret Key (sk_live_...)

Sandbox Mode

  • Enable sandbox
  • Enter Test Secret Key (sk_test_...)

Debugging

Enable logging to write detailed logs to:

var/log/

Recommended for troubleshooting.

Activate Payment Method

  1. Go to:

    Settings → Shop → Payment Methods
    
  2. Enable Paystack Payment

  3. Assign it to your Sales Channel

Payment Flow

Customer selects Paystack
        ↓
Redirect to Paystack Checkout
        ↓
Customer completes payment
        ↓
Redirect back to Shopware
        ↓
Plugin verifies transaction
        ↓
Order marked as Paid

Development & Testing

To ensure a consistent environment, tests and development tools should be run inside the plugin's Docker container.

1. Start the Container

make up

2. Enter the Container Shell

make shell

3. Run Development Commands

Once inside the container, you can execute the following commands:

Run Tests

make test

Test Coverage

make test-coverage

Static Analysis (PHPStan)

make analyse

Code Style (PHP-CS-Fixer)

make cs
make cs-fix

Compatibility

Plugin Version Shopware Version
^1.0 6.6
^2.0 6.7

Troubleshooting

Payment not updating?

  • Ensure webhook/verification flow is working
  • Check logs in var/log/
  • Confirm correct API keys (test vs live)

Plugin not visible?

bin/console plugin:refresh

Cache issues?

bin/console cache:clear

Support

For support:

License

This project is licensed under the MIT License. See the LICENSE file for details.

统计信息

  • 总下载量: 3
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-03-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固