fond-of-spryker / canceled-payment
Supports canceled payments initiated by customer
Installs: 13 755
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
- spryker-shop/checkout-page: ^2.0.0 || ^3.0.0
- spryker/checkout-extension: ^1.2.0
- spryker/quote: ^1.0.0 || ^2.0.0
Requires (Dev)
- codeception/codeception: <4.1.2
- codeception/mockery-module: ^0.2
- fond-of-codeception/spryker: dev-master
- mikey179/vfsstream: ^1.6
- php-coveralls/php-coveralls: ^2.1
- phpro/grumphp: ^0.14
- phpstan/phpstan: ^0.12.38
- sebastian/phpcpd: ^4.0
- spryker/code-sniffer: ^0.12
This package is auto-updated.
Last update: 2024-11-25 21:48:49 UTC
README
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.
Installation
composer require fond-of-spryker/canceled-payment
Register:
src/Pyz/Client/Checkout/CheckoutDependencyProvider.php
<?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(), ]; } ... }