Skip to content

KommandHub/KommandhubPaystackSW

Paystack Plugin for Shopware 6

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.

About

The Paystack Payment Plugin integrates the Paystack payment gateway into Shopware 6, allowing merchants in Africa (Nigeria, Ghana, Kenya, South Africa, and Cote d'Ivoire) to accept payments via credit/debit cards, bank transfers, USSD, and more.

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors