Typ uc_clickandbuy Datum Sonntag, August 16, 2009 - 17:29 Benutzer Anonymous Ort http://xxxxxxx.com/cart/clickandbuy/transaction?Email=xxx@rxxx.net&Phone=1234&cb_billing_City=xxxxx&cb_billing_FirstName=xxx&cb_billing_LastName=xxx&cb_billing_Nation=DE&cb_billing_Street=1234%20Main%20Rd.&cb_billing_ZIP=53119&cb_content_info_utf=Bestellung%2021&cb_content_name_utf=xxxxxxx.com&cb_currency=EUR&cb_shipping_City=NewYork&cb_shipping_FirstName=xxxxx&cb_shipping_LastName=xxxx&cb_shipping_Nation=DE&cb_shipping_Street=1234%20Main%20Rd.&cb_shipping_ZIP=12345&externalBDRID=funtimes21&lang=de&price=944 Referrer Nachricht ClickandBuy transaction 83032816 failed: Incorrect price: 944000 vs 945000. Schweregrad Warnung Hostname 111.22.333.44 Operationen
Comments
Comment #1
Passer commented--
Comment #2
robertdouglass commentedNo, I double checked. This happened on the 1.1 version.
Comment #3
spuky commentedI had this issue too changing the folowing code arraound line 227 in uc_clickandbuy.module:
to:
has fixed the issue for me... the problem seems to be with multiplying the Float value of order total.
Hope that helps sombody out there...
Comment #4
longwaveFix committed to CVS, thanks.
Comment #5
honigferd commentedThis whole construct (both the "old" version and the fix result in rounding errors in quite a few cases though.
e.g. Price including tax: 16.90 at a taxrate of 7% will return a respective price value of 16.89.
also see #631826: Wrong rounding after checkout when price gets sent to CnB
Comment #6
longwaveLet's keep this rounding problem in the other issue, the original issue mentioned here is still fixed.