fond-of-spryker/payone-credit-memo

This package is abandoned and no longer maintained. The author suggests using the fond-of-oryx/payone-credit-memo package instead.

n/a

dev-master 2020-08-21 11:39 UTC

This package is auto-updated.

Last update: 2021-06-22 13:21:52 UTC


README

license

Install

composer require fond-of-spryker/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;
    }