fond-of-oryx/payone-credit-memo

2.0.0 2023-01-24 12:59 UTC

This package is auto-updated.

Last update: 2023-01-24 13:57:04 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;
    }