solution25/cybersource

CyberSource Payment for Shopware6

v1.3.0 2025-06-04 12:35 UTC

README

416718745-868b6374-f95a-4d73-a33f-41c97a8a5271

Cybersource Payment

Introduction

The Cybersource plugin enables secure credit card payments in Shopware stores. It integrates with Cybersource's payment gateway to process transactions, supports guest checkouts, and allows returning customers to save their card details for faster purchases. The plugin provides real-time transaction tracking, PCI compliance, and flexible refund options.

Key Features

  1. Secure Transactions
    • PCI-compliant payments with real-time fraud protection.
  2. Multiple Payment Modes
    • Choose between Auth Only or Auth & Capture.
  3. Guest Checkout Support
    • Accept credit card payments without requiring customer accounts.
  4. Saved Payment Methods
    • Returning customers can save cards for faster checkout.
  5. Transaction Management
    • View and manage transactions directly in Shopware admin.
  6. Flexible Refund Options
    • Process full or partial refunds with ease.
  7. Multi-Store Compatibility
    • Works across multiple Shopware instances.

Get Started

Installation & Activation

  1. Download

Git

  • Clone the Plugin Repository:
git clone https://github.com/solution25com/cybersource-payment-shopware-6-solution25.git

Packagist

 composer require solution25/cybersource
  1. Install the Plugin in Shopware 6
  • Log in to your Shopware 6 Administration panel.
  • Navigate to Extensions > My Extensions.
  • Locate the Cybersource plugin and click Install.
  1. Activate the Plugin
  • After installation, click Activate to enable the plugin.
  • In your Shopware Admin, go to Settings > Shop > Payment Methods.
  • Check if the "Cybersource Payment" is active and make sure it's also added to the sales channels.
  1. Verify Installation
  • After activation, you will see Cybersource Payment in the list of installed plugins.
  • The plugin name, version, and installation date should appear as shown in the screenshot below.

Screenshot from 2025-04-18 15-00-40

Plugin Configuration

1. Access Plugin Settings

  • Go to Extensions > My Extensions.
  • Locate Cybersource Payment and click configure to open the plugin settings.

2. General Settings

Sales Channel

  • Select the sales channel(s) where you want Cybersource to be active.

Screenshot from 2025-04-18 14-06-54

Environment

  • You can switch to Production environment or not .

Screenshot from 2025-04-18 14-07-17

Live Account Keys

  • Enter the organization ID , access KEY and the share product Key

Screenshot from 2025-04-18 14-07-46

Sanbox Account Keys

  • Enter the organization ID , access KEY and the share product Key for the sandbox account keys.

Screenshot from 2025-04-18 14-58-37

Transaction Type

  • Choose between Auth Only or Auth & Capture.

Screenshot from 2025-04-18 14-08-39

Screenshot from 2025-04-18 14-08-56

3D Secure

  • You can enable 3ds.

Screenshot from 2025-04-18 14-09-13

3. Save Configuration

  • Click Save in the top-right corner to store your settings.

Webhook Usages

  • Webhooks will install automatically when you active the plugin.
  • Also you can manage webhooks using the command line interface (CLI) commands provided by the plugin. These commands allow you to create, read, update, and delete webhooks as needed.
bin/console cybersource:create-webhook
bin/console cybersource:read-webhook
bin/console cybersource:update-status-webhook --active=true
bin/console cybersource:delete-webhook

Troubleshooting

  • If you encounter any issues during installation or configuration, please check the following:
    • Ensure that your Shopware version is compatible with the plugin.
    • Verify that all required fields in the plugin settings are filled out correctly.
    • Check your server logs for any error messages related to the plugin.
    • Make sure to use HTTPS

FAQ

How can I configure custom fraud validation rules in CyberSource?

If you're facing transaction issues due to fraud validation (e.g. CVV mismatch, AVS mismatch), these settings can be reviewed and configured in your CyberSource Business Center.

Steps to Configure Custom Fraud Rules:

  1. Log in to your CyberSource account at: https://businesscentertest.cybersource.com/ebc2
  2. Navigate to Fraud Management in the left-hand menu.
  3. Go to Rule Configuration.
  4. In the Standard Rules panel, you'll see predefined rules like:
    • AVS Mismatch
    • CVV Mismatch
    • Invalid Address
    • Billing-Shipping Mismatch
    • Billing-IP Country Mismatch
  5. Each rule can be set to one of the following:
    • Monitor
    • Reject
    • Review
  6. You can customize these rules based on your business needs. For example:
    • Set "CVV Not Verifiable" to Reject to block transactions without valid CVV.
    • Set "AVS Partial Match" to Disabled if you want to allow more leniency.

Every user or merchant can define their own fraud detection rules in this panel to control transaction flow and reduce false rejections.

Why is this important?

Many issues reported by customers regarding rejected payments are due to fraud rule settings. Ensuring these are configured appropriately helps reduce false positives and improves customer experience.

If you're unsure how to proceed, please contact your fraud management team or refer to CyberSource's official Fraud Management Guide (login may be required).

Support & Contact

For assistance with the Cybersource Payment plugin: