fond-of-oryx/payone-credit-memo

2.1.0 2023-04-03 08:34 UTC

This package is auto-updated.

Last update: 2024-02-27 11:26:17 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;
    }