- Issue created by @john.oltman
- Issue was unassigned.
- π©πͺGermany Anybody Porta Westfalica
It would also be very helpful to have this as flag exposed to views, so that you can filter orders by their "paid" state.
As noted in the linked issue, some aspects of paid order handling are currently hardcoded:
* The list of states that should not be considered paid for free orders - draft and canceled.
* When an order should consider itself paid, more generally.
A paid order dispatches an event indicating such, so controlling when this happens is useful.
Options:
Consider adding a new event that subscribers can use to modify the logic and states for when an order "is paid".
Consider whether an admin form is needed so site builders can set the states to exclude from the "is paid" condition.
The event subscriber approach is probably more flexible but both options can be explored.
Active
3.0
Order
It would also be very helpful to have this as flag exposed to views, so that you can filter orders by their "paid" state.