{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/11743","repository_url":"https://api.github.com/repos/woothemes/woocommerce","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11743/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11743/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11743/events","html_url":"https://github.com/woothemes/woocommerce/issues/11743","id":172481661,"number":11743,"title":"wrong calculation of item price in order","user":{"login":"behrang1981","id":3681149,"avatar_url":"https://avatars.githubusercontent.com/u/3681149?v=3","gravatar_id":"","url":"https://api.github.com/users/behrang1981","html_url":"https://github.com/behrang1981","followers_url":"https://api.github.com/users/behrang1981/followers","following_url":"https://api.github.com/users/behrang1981/following{/other_user}","gists_url":"https://api.github.com/users/behrang1981/gists{/gist_id}","starred_url":"https://api.github.com/users/behrang1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behrang1981/subscriptions","organizations_url":"https://api.github.com/users/behrang1981/orgs","repos_url":"https://api.github.com/users/behrang1981/repos","events_url":"https://api.github.com/users/behrang1981/events{/privacy}","received_events_url":"https://api.github.com/users/behrang1981/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-22T15:25:43Z","updated_at":"2016-08-22T17:12:18Z","closed_at":"2016-08-22T16:52:56Z","body":"on woocommerce 2.6.4 on wordpress 4.5:\r\n\r\n\r\nWhen viewing an order (admin/order details) i notice wrong calculation of the price.\r\nproduct costs 50,37 (excl. tax, 53,90 including 7% tax) we have 2 of it in the order\r\nand sum is 100,75 instead of 100,74\r\n\r\nwhen editing the item i see 100,7477 which is rounded to 100,75.\r\n\r\nimo this is not right.\r\n\r\n## SYSTEM STATUS REPORT\r\n\r\n`\r\n### WordPress Environment ###\r\n\r\nHome URL: https://www.bahn-fachverlag.de\r\nSite URL: https://www.bahn-fachverlag.de\r\nWC Version: 2.6.4\r\nLog Directory Writable: ✔\r\nWP Version: 4.5.3\r\nWP Multisite: –\r\nWP Memory Limit: 512 MB\r\nWP Debug Mode: –\r\nWP Cron: ✔\r\nLanguage: de_DE_formal\r\n\r\n### Server Environment ###\r\n\r\nServer Info: Apache/2.4.7 (Ubuntu)\r\nPHP Version: ❌ 5.5.9-1ubuntu4.19 - Wir empfehlen eine PHP-Version von mindestenstens 5.6. Siehe: Wie Sie Ihre PHP-Version updaten können:\r\nPHP Post Max Size: 64 MB\r\nPHP Time Limit: 120\r\nPHP Max Input Vars: 20000\r\ncURL Version: 7.35.0\r\nOpenSSL/1.0.1f\r\n\r\nSUHOSIN Installed: –\r\nMySQL Version: ❌ 5.5.50 – Wir empfehlen mindestens die MySQL Version 5.6. Mehr dazu: WordPress-Anforderungen\r\nMax Upload Size: 64 MB\r\nDefault Timezone is UTC: ✔\r\nfsockopen/cURL: ✔\r\nSoapClient: ✔\r\nDOMDocument: ✔\r\nGZip: ✔\r\nMultibyte String: ✔\r\nRemote Post: ✔\r\nRemote Get: ✔\r\n\r\n### Database ###\r\n\r\nWC Database Version: 2.6.4\r\n: \r\nwoocommerce_sessions: ✔\r\nwoocommerce_api_keys: ✔\r\nwoocommerce_attribute_taxonomies: ✔\r\nwoocommerce_downloadable_product_permissions: ✔\r\nwoocommerce_order_items: ✔\r\nwoocommerce_order_itemmeta: ✔\r\nwoocommerce_tax_rates: ✔\r\nwoocommerce_tax_rate_locations: ✔\r\nwoocommerce_shipping_zones: ✔\r\nwoocommerce_shipping_zone_locations: ✔\r\nwoocommerce_shipping_zone_methods: ✔\r\nwoocommerce_payment_tokens: ✔\r\nwoocommerce_payment_tokenmeta: ✔\r\n\r\n### Active Plugins (51) ###\r\n\r\nAdvanced Custom Fields: Repeater Field: von Elliot Condon – 1.1.1\r\nAdminer: von Frank Bültge – 1.4.5\r\nAdvanced Custom Fields PRO: von Elliot Condon – 5.3.10\r\nBackWPup: von Inpsyde GmbH – 3.3.3\r\nBFV CA Banner: von Code Alliance – 2.0\r\niThemes Security: von iThemes – 5.6.0\r\nBreadcrumb NavXT: von John Havlik – 5.4.0\r\nContact Form DB: von Michael Simpson – 2.10.20\r\nContact Form 7: von Takayuki Miyoshi – 4.5\r\nDisplay Widgets: von Strategy11 – 2.05\r\nBFV CA Empfehlung: von Code Alliance – 1.0\r\nEU Cookie Law: von Alex Moss\r\nMarco Milesi\r\nPeadig\r\nShane Jones – 2.9.3\r\n\r\nEvents Manager and WPML Compatibility: von Marcus Sykes – 1.0.1\r\nEvents Manager: von Marcus Sykes – 5.6.5\r\nHeroic Favicon Generator: von Hero Themes – 1.4.2\r\nGoogle Analytics: von Kevin Sylvestre – 1.0.6\r\nMeta Slider: von Matcha Labs – 3.3.7\r\nMultilingual Tools: von WPML Compatibility Team – 1.2\r\nNo CAPTCHA reCAPTCHA for WooCommerce: von Agbonghama Collins – 1.2\r\noik Weight/Country Shipping: von bobbingwide – 1.3.2\r\nPAYMILL GmbH: von Matthias Reuter info@straightvisions.com – 1.10.9\r\nPayPal for WooCommerce: von Angell EYE – 1.2.3\r\nWooCommerce Product Filter: von Mihajlovic Nenad – 5.8.3\r\nBFV CA Programm: von Code Alliance – 1\r\nUmleitungen: von John Godley – 2.4.5\r\nVorschaubilder regenerieren: von Alex Mills (Viper007Bond) – 2.2.6\r\nWPML Multilingual CMS: von OnTheGoSystems – 3.4.1.1\r\nToolset Types: von OnTheGoSystems – 2.1\r\nVendidero Helper: von Vendidero – 1.1.1\r\nWoo Preview Emails: von Digamber Pradhan – 1.1.2\r\nWooCommerce Checkout Field Editor: von WooThemes – 1.4.10 – 1.5.0 ist verfügbar\r\nWooCommerce Coupons By Location: von Store Apps – 1.2.6\r\nWooCommerce Gateways Country Limiter: von OnTheGoSystems – 1.3\r\nWooCommerce Germanized Pro: von Vendidero – 1.5.3\r\nWooCommerce Germanized: von Vendidero – 1.6.8\r\nWooCommerce Multilingual: von OnTheGoSystems – 3.8.4\r\nWooCommerce PDF Watermark: von WooThemes – 1.0.4\r\nWoocommerce Products Per Page: von Jeroen Sormani – 1.2.2\r\nSOFORT Banking for WooCommerce: von Awesome UG & MarketPress – 1.1.18\r\nWooWaitlist: von WPCream.com – 3.0.10\r\nWooCommerce: von WooThemes – 2.6.4\r\nWooCommerce Helper: von WooCommerce – 1.7.0\r\nYoast SEO: von Team Yoast – 3.4.2\r\nWPML CMS Nav: von OnTheGoSystems – 1.4.19\r\nWPML Media: von OnTheGoSystems – 2.1.22\r\nWPML Sticky Links: von OnTheGoSystems – 1.3.19\r\nWPML String Translation: von OnTheGoSystems – 2.3.9\r\nWPML Translation Management: von OnTheGoSystems – 2.2.1.2\r\nYITH WooCommerce Customize My Account Page: von YITHEMES – 1.1.0\r\nYITH WooCommerce Quick View: von YITHEMES – 1.1.2\r\nYITH WooCommerce Wishlist Premium: von YITHEMES – 2.0.16\r\n\r\n### Settings ###\r\n\r\nForce SSL: –\r\nCurrency: EUR (€)\r\nCurrency Position: right_space\r\nThousand Separator: .\r\nDecimal Separator: ,\r\nNumber of Decimals: 2\r\n\r\n### API ###\r\n\r\nAPI Enabled: ✔\r\n\r\n### WC Pages ###\r\n\r\nShop-Basis: #23 - /shop/\r\nWarenkorb: #304 - /shop/warenkorb/\r\nKasse: #305 - /shop/kasse/\r\nMein Konto: #306 - /shop/mein-konto/\r\n\r\n### Taxonomies ###\r\n\r\nProduct Types: external (external)\r\ngrouped (grouped)\r\nsimple (simple)\r\nvariable (variable)\r\n\r\n\r\n### Theme ###\r\n\r\nName: _tk\r\nVersion: 1.1.10\r\nAuthor URL: http://www.code-alliance.de/\r\nChild Theme: ❌ – Wenn Sie WooCommerce oder ein Parent Theme\r\ndas Sie nicht selbst entwickelt haben\r\nan eigene Bedürfnisse anpassen\r\ndann empfehlen wir die Verwendung eines Child Themes. Siehe Wie Sie ein Child Theme erstellen (engl.)\r\n\r\nWooCommerce Support: ✔\r\n\r\n### Templates ###\r\n\r\nOverrides: _tk-master/woocommerce/emails/admin-cancelled-order.php\r\n_tk-master/woocommerce/emails/admin-failed-order.php\r\n_tk-master/woocommerce/emails/admin-new-order.php\r\n_tk-master/woocommerce/emails/customer-completed-order.php\r\n_tk-master/woocommerce/emails/customer-invoice.php\r\n_tk-master/woocommerce/emails/customer-new-account.php\r\n_tk-master/woocommerce/emails/customer-note.php\r\n_tk-master/woocommerce/emails/customer-on-hold-order.php\r\n_tk-master/woocommerce/emails/customer-processing-order.php\r\n_tk-master/woocommerce/emails/customer-refunded-order.php\r\n_tk-master/woocommerce/emails/customer-reset-password.php\r\n_tk-master/woocommerce/emails/email-addresses.php\r\n_tk-master/woocommerce/emails/email-customer-details.php\r\n_tk-master/woocommerce/emails/email-footer.php\r\n_tk-master/woocommerce/emails/email-header.php\r\n_tk-master/woocommerce/emails/email-order-details.php\r\n_tk-master/woocommerce/emails/email-order-items.php\r\n_tk-master/woocommerce/emails/email-styles.php\r\n_tk-master/woocommerce/emails/plain/admin-cancelled-order.php\r\n_tk-master/woocommerce/emails/plain/admin-failed-order.php\r\n_tk-master/woocommerce/emails/plain/admin-new-order.php\r\n_tk-master/woocommerce/emails/plain/customer-completed-order.php\r\n_tk-master/woocommerce/emails/plain/customer-invoice.php\r\n_tk-master/woocommerce/emails/plain/customer-new-account.php\r\n_tk-master/woocommerce/emails/plain/customer-note.php\r\n_tk-master/woocommerce/emails/plain/customer-on-hold-order.php\r\n_tk-master/woocommerce/emails/plain/customer-processing-order.php\r\n_tk-master/woocommerce/emails/plain/customer-refunded-order.php\r\n_tk-master/woocommerce/emails/plain/customer-reset-password.php\r\n_tk-master/woocommerce/emails/plain/email-addresses.php\r\n_tk-master/woocommerce/emails/plain/email-customer-details.php\r\n_tk-master/woocommerce/emails/plain/email-order-details.php\r\n_tk-master/woocommerce/emails/plain/email-order-items.php\r\n_tk-master/woocommerce/loop/add-to-cart.php Version 2.1.0 ist veraltet. Die Hauptversion ist 2.5.0\r\n\r\n: Erfahren Sie\r\nwie Sie veraltete Templates aktualisieren\r\n\r\n`"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/241482248","html_url":"https://github.com/woothemes/woocommerce/issues/11743#issuecomment-241482248","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/11743","id":241482248,"user":{"login":"behrang1981","id":3681149,"avatar_url":"https://avatars.githubusercontent.com/u/3681149?v=3","gravatar_id":"","url":"https://api.github.com/users/behrang1981","html_url":"https://github.com/behrang1981","followers_url":"https://api.github.com/users/behrang1981/followers","following_url":"https://api.github.com/users/behrang1981/following{/other_user}","gists_url":"https://api.github.com/users/behrang1981/gists{/gist_id}","starred_url":"https://api.github.com/users/behrang1981/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behrang1981/subscriptions","organizations_url":"https://api.github.com/users/behrang1981/orgs","repos_url":"https://api.github.com/users/behrang1981/repos","events_url":"https://api.github.com/users/behrang1981/events{/privacy}","received_events_url":"https://api.github.com/users/behrang1981/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T17:12:18Z","updated_at":"2016-08-22T17:12:18Z","body":"product price is 53,90\r\ntax is 7%\r\nso net price is 50,373831775701\r\n\r\nquantity is 2\r\n\r\nso the price shown is 100,75 because of 2 * 50,373831775701 = 100,747663551402\r\nand this is rounded to 100,75 because of 2 digits after comma.\r\n\r\nbut it leads to the display above:\r\n\r\n50,37      x        2  => 100,75\r\n\r\n"}}
{"actor":{"display_login":"behrang1981"}}