fond-of-oryx/payone-credit-memo

2.1.3 2024-07-23 08:37 UTC

This package is auto-updated.

Last update: 2024-12-23 09:39:50 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;
    }