This PR adds an event listener which tells Commerce how to process a refund if an order is cancelled. This helps to move some of the logic back to E-commerce where the gateways exist, rather than leaving it in Commerce and just hoping that the E-commerce module is installed.
Requires https://github.com/mothership-ec/cog-mothership-commerce/pull/490
This PR adds an event listener which tells Commerce how to process a refund if an order is cancelled. This helps to move some of the logic back to E-commerce where the gateways exist, rather than leaving it in Commerce and just hoping that the E-commerce module is installed.