Decimal quantity in tracked items
Hi
When we set a decimal quantity for a tracked item, CG accepts the value and correctly calculates the cost for the pending invoice, but when the invoice is processed, the quantity value is rounded to an integer. For instance:
- add a quantity of 2.5 for an item with a cost of $0.99
- the current invoice shows correctly 2.5*$0.99=$2.48
- when the invoice is processed, the quantity is rounded to 3 and the total value is 3*$0.99=$2.97
We are seeing this with the simulated gateway.
Is this an expected behavior?
Thanks
Pedro Carvalho
Discussions are closed to public comments.
If you need help with Cheddar please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Marc Guyer on 13 Jan, 2011 05:24 PM
That appears to be a missed db migration. Good catch. We're running a patch through some regression tests now and should have the patch deployed later today. Thanks for the report!
Pedro Carvalho closed this discussion on 30 Jan, 2011 04:22 PM.