I'm going to try to take a look at this, what were the values of those fields supposed to be?
On Jan 29, 12:22 pm, Chris Moffitt <[email protected]> wrote: > The issue with a lot of these is that we need 10 or so digits of precision > so that VAT and other taxes can be calculated and stored correctly. Bruce > has spent a lot of time trying to get this right. > > The downside is that it seems that sometimes Mysql (and maybe the other > backends) have some issues with it. We've been squashing these bugs in > places along the way. > > Your specific issue with paypal may be related to changeset [1922]. There > may be another place where we need to explicitly force the truncating of > decimals in the templates. The good news is that it's a simple fix and if > you look athttp://www.satchmoproject.com/trac/changeset/1922it should be > pretty simple to figure out other places in the paypal templates where we > need to do something similar. > > Feel free to submit tickets with details of the problem (and patches if > possible). > > Thanks, > Chris > > On Thu, Jan 29, 2009 at 1:52 AM, digicase > <[email protected]>wrote: > > > > > I'm attempting to get a Satchmo store up and running but have come > > across a problem that I can't solve. When a product order is created > > certain fields are filled with the value "0E-10". The fields are: > > > Shipping Discount > > Tax > > Discount amount > > > and under order line items: > > > Unit tax > > Line item tax > > 0E-10 > > > I'm using the latest svn versions of Django (r 9791) and Satchmo (r > > 1922), and this error occurs on my Mac running the Django test server > > and MySQL, and also on Webfaction running python/mod_wsgi and both > > MySQL or Postgresql. > > > I am using a brand new database, loaded with the Satchmo test store in > > both cases too. This happens with the test payment module and the > > Paypal module. > > > Additionally, using the Paypal module, the order amount is incorrect > > in the shop/checkout/paypal/confirm/ stage. In the template it is > > rendered as: > > > <input type="hidden" name="amount_1" value="2E+1" /> > > > I think this is a related issue? > > > I hope somebody can help, I really like Satchmo and thanks for all the > > hard work on this project. > > > Thanks, > > Arthur > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
