woocommerce / woocommerce-android

WooCommerce Android app
https://www.woocommerce.com/mobile
GNU General Public License v2.0
277 stars 135 forks source link

[Woo POS] Total is wrongly rounded with product prices inclusive in tax #12496

Closed staskus closed 1 month ago

staskus commented 2 months ago

Describe the bug

Totals are wrongly rounded with product prices inclusive of tax. This at least partially looks like a POS bug since the card payment modal shows a correct price.

To Reproduce

Settings

I used two Taxable products with Standard rate.

Example steps:

  1. Configure store tax settings
  2. Open POS
  3. Add 2 x $0.01 and 1x $16 products
  4. Observe total is $16.03
  5. Collect card payment
  6. Observe total is $16.02

Screenshots

Card Payment Modal shows a different price

image

iOS POS vs Android POS vs Web

image image

Expected behavior A clear and concise description of what you expected to happen.

Isolating the problem (mark completed items with an [x]):

Mobile Environment Please include:

WordPress Environment

``` Copy and paste the system status report from **WooCommerce > System Status** in WordPress admin. ```
dangermattic commented 2 months ago

Thanks for reporting! 👍