Closed Zales0123 closed 5 years ago
Ok, so we've just had a (not-so) quick talk with @lchrusciel about this implementation and there is a new vision 😄
And it should still work for current implementations and allow us to control this integrity changes during the last order recalculation. Sounds good? 🔉
Fixes https://github.com/Sylius/ShopApiPlugin/issues/589
The main idea right now is to check the total of the order before and after customer assignment (and therefore - cart recalculation). This is the same thing as we do in Sylius itself. The next step would be also to check the promotion integrity 🐎
SymfonyHackday