Skip to content
ČSOB payment gateway (bank is operating in Czechia and Slovakia, plugin works for both)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
doc
features
src
tests
.editorconfig
.gitignore
.gitlab-ci.yml
.travis.yml
README.md
behat.yml.dist
composer.json
easy-coding-standard.yml
node_modules
phpstan.neon
phpunit.xml.dist

README.md

ČSOB Payment Gateway Plugin

Features

Installation

  1. Run $ composer require mangoweb-sylius/sylius-csob-payment-gateway-plugin.
  2. Register \MangoSylius\CsobPaymentGatewayPlugin\MangoSyliusCsobPaymentGatewayPlugin in your Kernel.

Usage

  • Create CSOB payment type
    in Sylius admin panel
  • Insert client SANDBOX key
    put the key into the file /config/csobKeys/clientKeys/sandbox/{Key file name}
  • Insert client PRODUCTION key
    put the key into the file /config/csobKeys/clientKeys/prod/{Key file name}

Name of the file with the key is not important, just keep it the same for sandbox and production and remember to put the same filename (without its path) into the "Key file name" field. Recpect lowercas and uppercase characters.

Development

Usage

  • Create symlink from .env.dist to .env or create your own .env file
  • Develop your plugin in /src
  • See bin/ for useful commands

Testing

After your changes you must ensure that the tests are still passing.

  • Easy Coding Standard
    bin/ecs.sh
  • PHPStan
    bin/phpstan.sh

License

This library is under the MIT license.

Credits

Developed by manGoweb.

You can’t perform that action at this time.