I just found a bug with calculation option “Use Plain Sum” after my client report a small discrepancy in cents.
Their use case is that they use a delivery company that takes 15% commission.
So I have two rules:
New Order Added Rule
Adds calculation if delivery entity is not null
Ticket Total Changed Rule
Refreshes calculation if delivery entity is not null
In the calculation type I selected Use Plain Sum because commission is calculated on the ticket amount before tax or any other calculations (discounts, promos etc.) they provide to their customers.
However, with the User Plain Sum option enabled, when you add an order tag that has a price, calculation seems to exclude order tag prices entirely even though the Total Amount has changed.
Though discrepancy is small, over time this becomes a huge issue as it adds up.
@Posflow are you saying the calculation is not updating?
Check how autoselwct effects.
Sounds si.ilar to an issue I had with a locals discount system for which came up with a slightly round about way.
Experiment a little, from memory the issue was less that calculation wasn’t happening but more that the screen wasn’t corectly refreshing and closing ticket or triggering refresh in some way made it show correct.
If this makes sence might be able to help you work arround the issue.