2017 © Pedro Peláez
 

sylius-plugin customer-order-cancellation-plugin

Plugin that allows customers to cancel the placed order before it is processed.

image

sylius/customer-order-cancellation-plugin

Plugin that allows customers to cancel the placed order before it is processed.

  • Tuesday, July 24, 2018
  • by pamil
  • Repository
  • 5 Watchers
  • 6 Stars
  • 95 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

:warning: BEWARE! This repository has been deprecated and will not be maintained or evolved by the Sylius Team. You can still use it with compatible Sylius versions, but at your own risk, as no bugs will be fixed on it., (*1)

, (*2)

Customer Order Cancellation Plugin

, (*3)

This plugin allows customers to cancel the placed order before it is processed., (*4)

Screenshot showing the customer's orders page with cancel buttons, (*5)

Business Value

So far, once a Customer changed their mind about already placed Order, it was up to the Administrator to cancel the order. However, we have asked ourselves a question - why can't Customer cancel the order when it is yet to be paid? Here comes Customer Order Cancellation Plugin that allows canceling the unpaid order straight from the order history view., (*6)

Installation

Beware!

This installation instruction assumes that you're using Symfony Flex. If you don't, take a look at the legacy installation instruction. However, we strongly encourage you to use Symfony Flex, it's much quicker! :), (*7)

To install plugin, just require it with composer:, (*8)

composer require sylius/customer-order-cancellation-plugin

Remember to allow community recipes with composer config extra.symfony.allow-contrib true or during plugin installation process, (*9)

Extension points

Customer Order Cancellation plugin uses Order entity derived from SyliusCoreBundle as well as its already defined states., (*10)

Default plugin implementation assumes that an Order can be canceled by a Customer when its payment state is awaiting_payment and shipment state equals ready. This conditions can be easily changed by creating a custom implementation of CustomerOrderCancellationCheckerInterface or decorating the existing one., (*11)

Security issues

If you think that you have found a security issue, please do not use the issue tracker and do not post it publicly. Instead, all security issues must be sent to security@sylius.com., (*12)

The Versions