Add entry action to Paid status in state transition system

Is it possible to add an entry action to the payment status Paid in state transition system?

We use the Adyen plugin and we want to execute integration code when a payment gets Paid.

Litium version: 7.02

No, it is not possible to add entry and exist actions for the payment states.

What you can do is to add a related state so when the state is changed for the payment you will move the order into next state that can have entry/exit actions.

Ok, is this the recommended way to handle server-to-server background calls from PSPs?

If we for example get at notification from Adyen that a payment is successfully captured.

Yes, it’s the recommended method.

More information about how the state transition system with our state engine is found here.