lyra / plugin-sylius

MIT License
0 stars 0 forks source link

Order checkout state mutated out of state machine #2

Open SebLours opened 2 months ago

SebLours commented 2 months ago

Hi,

In \Lyranetwork\Payzen\Controller\OrderController the order checkout state is mutated out of the state machine context: https://github.com/lyra/plugin-sylius/blob/f6533bdc22d83d8886fadc8a06faa762db5c56c4/LyranetworkLyra/src/Controller/OrderController.php#L260

Many behaviors are listening to the state machine transitions.

To be closest to the Sylius architecture, i think this is required.

Ryldd commented 2 months ago

Hello, Thank you for bringing this issue to our attention. We'll look into it and get back to you as soon as possible.

Best regards.