You are here: / / Issue with comma in decimal figures
We’ve set the plugin to accept payments in Euro.
In the plugin advanced settings, the decimal separator is set to use comma instead of dot.
We’ve created a “new product” to allow customer to pay our invoices via our website. For this reason, we left the price field blank, so that customers can enter the amount themselves.
However, if we enter a figure with decimal numbers in the price field (eg. 120,98) this value gets showed in the popup window as 12.098,00 € as if the decimal separator setting was ignored.
Can you please advise?
The settings you adjusted are called “Price display settings”, hence they only affect how the amount is displayed, not how it’s entered.
But you got a point and this definitely should be dealt with. I will look for a solution and let you know the results shortly.
I have made a testing version which should address this.
It has a new option on Settings -> Advanced Settings tab called “Apply Separators Settings To Customer Input”. Check it, save settings and your customers will be able to use your currently configured decimal separator (comma in your case) to enter values.
You can download it here https://s-plugins.com/testing/stripe-payments_1.8.9t1.zip . Just delete the one currently installed and install this one. Your settings and products would stay untouched. This testing version can also be updated to stable once it’s released without the need to delete it and re-install again.
Let me know if there it works like expected.
apologies for the late feedback. I’m very happy to let you know that the plugin works wonderfully, now. Thank you for fixing the problem so quickly.
Great support. Thanks.
You must be logged in to reply to this topic.