Sorry, I keep investigating, and I find that what's not being rounded up is
order.total. The only place I see an order.total being set is this (greped
for '\.total ='):
src/satchmo/satchmo/apps/satchmo_store/shop/models.py
971: self.total = Decimal(item_sub_total + self.shipping_sub_total +
self.tax)
and here, which I don't think it's being hit in this case:
src/satchmo/satchmo/apps/payment/views/cron.py
46:# item.order.total = item.order.total -
item.order.shipping_cost
Neither of them are using rounding and in my case self.tax is
(Pdb) p order.tax
Decimal('7.16859')
So.. what do I do? rewrite order.total in the payment processor?
--
You received this message because you are subscribed to the Google Groups
"Satchmo users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/satchmo-users?hl=en.