awesomemotive / easy-digital-downloads

Sell digital downloads through WordPress
https://easydigitaldownloads.com
GNU General Public License v2.0
868 stars 473 forks source link

Bug in Tax configuration x.x become xx the dot is ignored #9520

Open yoannfauche opened 2 years ago

yoannfauche commented 2 years ago

Bug Report

Expected behavior

In the tax confiruration (TVA -> Rates) I choose a country then enter an amount in percent. Say 5.5 for that exemple I hit "save" The page refreshes and should show 5.50%

Actual behavior

After the refresh I get 55%

Information (if a specific version is affected):

robincornett commented 2 years ago

I'm unable to replicate this issue. I'm able to successfully save tax rates with decimals:

image

But I think you mention VAT in your comment @yoannfauche ... are you using a plugin to manage taxes? If so, you may need to contact the plugin author about this.

yoannfauche commented 2 years ago

Hi Robin,

Here is my test.

My initial value (5.50 appears because I edited it in the DB)

screen1

Then I added a value for CA and GB, I did not hit "save" yet on that screen :

screen22

The same screen after hitting the save button:

screen2

Even my previous values lost their decimal, here is the value in my DB

screen4

None of my other plugins are tax related.

robincornett commented 2 years ago

@yoannfauche thank you for the update and the research. I'm still not able to replicate this on my end. Could you please visit our support page and submit a support ticket, including your site's system info file? That will give me a more detailed picture of your site configuration and EDD version and I can look into this more. You can let the team know to pass it on to me, please. Thanks.

yoannfauche commented 2 years ago

Hi Robin,

Support ticket 2242491 opened with the sys info.

Thanks