# Events documentation

**URL:** <https://forum.litium.com/t/events-documentation/197>\
**Category:** Questions\
**Tags:** event\
**Created:** [August 16, 2018, 1:28pm UTC](https://forum.litium.com/t/events-documentation/197 "2018-08-16T13:28:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zsrdos](https://avatars.discourse-cdn.com/v4/letter/z/74df32/32.png) [@Zsrdos](https://forum.litium.com/u/Zsrdos)\
**Post date:** [August 16, 2018, 1:28pm UTC](https://forum.litium.com/t/events-documentation/197/1 "2018-08-16T13:28:02Z")

</div>

Hi am trying to get an overview of all the core events in lithium that I have to play with, but I can’t seem to find a list. Searching the documentation for Events.\* I think I found most but am struggling to find out if Events for Order.Canceled or Payment.Returned exists today.

I found the OrderEvent class. But Not the event names. If this events exists can I still subscribe to this using

Litium.Events.EventBroker eventBroker.Subscribe or does this use

Litium.Foundation.Modules.ECommerce.Events.EventManager ?

Litium version: 6.2

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [August 16, 2018, 4:59pm UTC](https://forum.litium.com/t/events-documentation/197/2 "2018-08-16T16:59:41Z")

</div>

The api for the area that not is ported to the new code structure is using classical .net events. For them you need to use the event manager, example the `Litium.Foundation.Modules.ECommerce.Events.EventManager` to attach to the event.

Most of the event in this event system is only sending the ID for the entity that is updated, then you need to fetch the entity and make decisions based on the information in the object what your next step should be.

It does not exists any Order.Canceled or Payment.Returned event, you instead have the state transition system ([https://docs.litium.com/documentation/litium-documentation/sales/architecture-design/state\_transition\_plugin\_1](https://docs.litium.com/documentation/litium-documentation/sales/architecture-design/state_transition_plugin_1)) that will handle all the transitions between the different states where you by code tell the system what should happen, example order confirmation mail should be sent.

---

<div class="post-metadata">

**Author:** ![Zsrdos](https://avatars.discourse-cdn.com/v4/letter/z/74df32/32.png) [@Zsrdos](https://forum.litium.com/u/Zsrdos)\
**Post date:** [August 16, 2018, 5:34pm UTC](https://forum.litium.com/t/events-documentation/197/3 "2018-08-16T17:34:53Z")

</div>

Ok thanks! Is this transition plugin part of the code/included in the license? or is it a monthly fee?

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [August 17, 2018, 7:17am UTC](https://forum.litium.com/t/events-documentation/197/4 "2018-08-17T07:17:36Z")

</div>

The state transition is part of the Litium product and included in the product license.

In the accelerator you find the configuration entry point in the `Litium.Accelerator.StateTransition.StateTransitionBuilder` (`Litium.Accelerator` assembly)
