sherlockode/sylius-norbr-plugin

Norbr plugin for Sylius.

v1.1.1 2022-02-10 16:44 UTC

README

Overview

This plugin allows you to use Norbr to manage credit card payments on your e-commerce site.

Installation

Install the plugin with composer :

$ composer require sherlockode/sylius-norbr-plugin

If your project does not use autoload, you have to enable the bundle yourself:

// config/bundle.php

return [
    ...
    
    Sherlockode\SyliusNorbrPlugin\SherlockodeSyliusNorbrPlugin::class => ['all' => true],
];

To complete the installation, don't forget to publish assets:

$ php bin/console assets:install

Configuration

Update your sylius installation by importing bundle configuration:

# config/packages/_sylius.yaml

imports:
    # ...

    - { resource: "@SherlockodeSyliusNorbrPlugin/Resources/config/config.yaml" }

Then import routes:

# config/routes.yaml

sherlockode_sylius_norbr_plugin:
    resource: "@SherlockodeSyliusNorbrPlugin/Resources/config/routing.xml"

That's it ! Now you can enable the Norbr payment method in your admin panel.