It took a while for me to figure out what is the plugin message to activate the quote.
We need register it on
- SetStateDynamicEntity of Quote to fire the plugin.
Keep in mind, revising activated quote doesn't trigger above message but you need to register messages on quoteclose entity.
Activate Statecode is "1" when activated.
Its kinda tricky.