Discount on Amount in Cart does not work properly
I try to add simple discount: 7% if total sum is grater than $60
At admin/commerce/config/taxes/types i have new type: discount
At admin/commerce/config/taxes i created new tax rate Discount 7% (component)
In this component i created condition “Data comparsion” and seleced option “commerce-line-item:order:commerce-order-total:amount”
And lets test it: order for total sum $58.88: http://i.imgur.com/FIfVe.png Looks ok, no discount.
But when i went back to “view cart” and click on checkout i saw the same product list with discount 7% http://i.imgur.com/QDghA.png It happens randomly. Sometimes the discount appears sometimes does not appear. I did not change anything in rules settings.
Another strange thing: total sum is $67.88 http://i.imgur.com/mp7AI.png but in debugging variable commerce_order_total this value is set to 63.13 so after discount. In previous case (58.88) this value was set to 58.88 so before discount calculation.
I was reading http://www.drupalcommerce.org/discussions/1123/discount-amount-cart but this didn’t help me.
List of contrib modules: http://i.imgur.com/5Sp4h.png
Can anybody help me with this problem?