This is a 2 purposes method, not good.
There should be 1 method `abandonCart` (current name is not good, a listener name must not represent event) which abandons or not the cart.
Regarding the flash message, I would let it in the controller (this is more a controller job, isn't it?), or at least in another method of this listener.