Closed GoogleCodeExporter closed 8 years ago
except I'm not sure if truncate is the best option or not--what if people want
tax to
round up, for example. Hmm.
Original comment by rogerpack2005
on 21 Feb 2009 at 6:50
Just to note, if you pass a tax or shipping cost to PayPal that has more than 2
decimal places, PayPal will completely ignore it. It is definitely worth
truncating,
because I had a couple of orders that were paid for but the shipping cost never
got
transferred.
Original comment by solodex2...@gmail.com
on 21 Feb 2009 at 7:41
authorize.net SIM rejects the transaction if a value has more than two
decimals.
Perhaps we should add truncation in several locations [?]
-=r
Original comment by rogerpack2005
on 21 Feb 2009 at 9:49
Roger, any chance of getting you to apply / test this patch on trunk?
Original comment by subim...@gmail.com
on 4 May 2010 at 7:19
sure
Original comment by rogerpack2005
on 4 May 2010 at 9:07
committed r225
Original comment by rogerpack2005
on 4 May 2010 at 11:35
Original comment by subim...@gmail.com
on 5 May 2010 at 2:22
Original issue reported on code.google.com by
rogerpack2005
on 21 Feb 2009 at 6:26Attachments: