Skip to content

E-ComProcessing/shopware6-ecp-plugin

Repository files navigation

E-Comprocessing Gateway Module for Shopware 6

Software License

This is a Payment Plugin for Shopware 6, that gives you the ability to process payments through E-Comprocessing's Payment Gateway - Genesis.

Requirements

GenesisPHP Requirements

Installation (manual) via console

  • Download the archive with the desired release

  • Extract the containing files into <Shopware 6 Root>\custom\plugins\EcomprocessingGenesis

  • Navigate via the console to the Shopware 6 Root

  • Check if Shopware 6 recognize the plugin

    $ php bin/console plugin:refresh

    The output should contain the following row:

    Plugin Label Version Upgrade version Author Installed Active Upgradeable
    EcomprocessingGenesis ecomprocessing Genesis Plugin x.x.x ecomprocessing Ltd No No No
  • Install and activate the plugin

$ php bin/console plugin:install --activate EcomprocessingGenesis

  • Clear the cache

$ php bin/console cache:clear

Configuration

ecomprocessing Genesis Plugin

  • Log-in into the Admin
  • Go to
    • Extenstions->My Extensions via Shopware 6.4.x, 6.5.x
  • Activate, Install, Uninstall, etc.
  • Choose Config and fill up the Credentials, choose Transaction Types, etc

Checkout Payment Methods

  • Log-in into the Admin
  • Go to
    • Extenstions->My Extensions via Shopware 6.4.x, 6.5.x
  • Choose Edit
  • Set Active, Availability Rule, etc

Shop

  • Log-in into the Admin
  • Go to
  • Navigate to section Payment and shipping
  • Add Payment Methods ecomprocessing Checkout

Note: In order to use processing in an iframe, you have to modify the SameSite cookie settings. This ensures that cookies are properly handled during cross-site requests, which is crucial for iframe-based payment solutions.

Step 1: Add/edit your framework.yml file

Ensure you have access to your Shopware 6 installation directory. This can be on your local machine or a server where your Shopware instance is hosted.

Navigate to the config/packages directory within your Shopware installation. This directory contains configuration files for various packages used by Shopware.

nano /path/to/your/shopware/installation/config/packages/framework.yml

Note instead of nano you can use your favorite editor.

Add/update the Cookie SameSite setting:

framework.yml:

framework:
  session:
    cookie_samesite: none

Save your changes and clear the cache:

cd /path/to/your/shopware/installation
./bin/console cache:clear

Uninstall *CAUTION*

When uninstalling, a message will appear asking if the plug-in data needs to be removed:

  • Yes - Removes all saved Plugin data *THIS CAN NOT BE UNDONE*
  • No - The Plugin data remain untouched

Supported Transactions

  • E-Comprocessing Checkout Payment Method
    • Alternative Payment Methods
      • SOFORT
    • Cash Payments
      • Pix
    • Credit Cards
      • Authorize
      • Authorize (3D-Secure)
      • Sale
      • Sale (3D-Secure)
      • EPS
    • Sepa Direct Debit
      • SDD Sale
    • Online Banking Payments
      • Bancontact (BCT)
      • iDEAL
      • iDebit Payin
      • Interac Combined Pay-in (CPI)
      • BLIK (BLK)
      • P24
      • SPEI (SE)
      • LatiPay (PID)
    • Mobile
      • Apple Pay
      • Google Pay
    • Vouchers
      • Paysafecard
    • Wallets
      • PayPal

Note: If you have trouble with your credentials or terminal configuration, get in touch with our support team

You're now ready to process payments through our gateway.

Development

  • Install with development packages
composer install
  • Install without development packages
composer build
  • Run PHP Code Sniffer
composer php-cs
  • Run PHP Mess Detector
composer php-md
  • Pack installation archive (Linux or macOS only)
composer pack