medusa icon indicating copy to clipboard operation
medusa copied to clipboard

Can't setup 9.975% tax rate - Québec Sales Tax (QST)

Open alexdx-ca opened this issue 2 years ago • 14 comments

Bug report

Describe the bug

I can't setup Québec Sales Tax (QST). Because it's value is 9.975% But Medusa is asking me 9.97% or 9.98%.

System information

Medusa version: 1.3.20 Node.js version: Database: PostgreSQL 15.4 Operating system: macOS 12.6.1 Browser (if relevant): Firefox

Steps to reproduce the behavior

  1. Go to http://localhost:7001/a/settings
  2. Click on Taxes.
  3. Click on "+ New Tax Rate" button.
  4. Enter name, tax rate (9.975) and tax code.
  5. Click "Create" and see error.

Expected behavior

Tax rate field have to accept more than 2 decimal places.

Screenshot

Screen Shot 2023-09-13 at 6 04 12 PM

alexdx-ca avatar Sep 13 '23 22:09 alexdx-ca