Supports canceled payments initiated by customer

1.1.0 2020-08-25 12:19 UTC

This package is auto-updated.

Last update: 2024-06-25 21:02:35 UTC


Spryker Canceled Payment

This plugin helps to mitigate errors which occur when customer cancel during external checkout. For example Paypal or 3d-secure. Currently it contains a plugin which will set an error whenever the checkout has been already confiremd.


composer require fond-of-spryker/canceled-payment

Register: src/Pyz/Client/Checkout/CheckoutDependencyProvider.php


namespace Pyz\Client\Checkout;

use FondOfSpryker\Client\CanceledPayment\Plugin\CheckoutExtension\CheckoutConfirmedPreCheck;
use Spryker\Client\Checkout\CheckoutDependencyProvider as SprykerCheckoutDependencyProvider;

class CheckoutDependencyProvider extends SprykerCheckoutDependencyProvider


     * @return \Spryker\Client\CheckoutExtension\Dependency\Plugin\CheckoutPreCheckPluginInterface[]
    protected function getCheckoutPreCheckPlugins(): array
        return [
            new CheckoutConfirmedPreCheck(),