fond-of-oryx/payone-credit-memo

1.1.0-alpha 2022-04-25 07:04 UTC

This package is auto-updated.

Last update: 2022-05-12 18:17:14 UTC


README

CI license

Install

composer require fond-of-oryx/payone-credit-memo

Configuration

Add PartialRefundCommandPlugin to OmsDependencyProvider

    /**
     * @param \Spryker\Zed\Kernel\Container $container
     *
     * @return \Spryker\Zed\Kernel\Container
     */
    public function provideBusinessLayerDependencies(Container $container)
    {
        ...

        $container->extend(self::COMMAND_PLUGINS, static function (CommandCollectionInterface $commandCollection) {
            ...
            $commandCollection->add(new PartialRefundCommandPlugin(), 'Payone/Refund');
            ...

            return $commandCollection;
        });

        return $container;
    }