Posted: October 19, 2023 at 2:17 am
Yesterday I updated the Event Espresso core to the new version 5.0.11.p With this new version there seems to be a problem with decimal sign that we didn’t have in all the previous versions. If we add a payment by default it always uses the full outstanding amount with a . (dot) as decimal sign. And we just needed to click on the confirm button. However the value is then addes without the decimal. For example the amount to be paid is 70.5, but if we add this payment. It is addes as 705. In Belgium the decimal sign is , (komma). If we manually change the decimal sign to a komma, then the payment is addes correct. Obviously it’s time consuming to always change the decimal sign. |
|
I’m trying to understand your concern, but i might misinterpret it. What payment method is used? Was the problem in creating and adding price on the ticket? or when your client checkout your ticket Can you show us what you mean? you can use loom to record a video of the problem you experience. thanks thanks |
|
The payment method is bank. So after we received the payment on our bank account, we manually add the payment to the transaction. Below you can find a video recording of the problem. So you will see that I add a payment of 108.5 but after submitting the payment. The payment is changed to 1085 . If I manually change the payment to 108,5 (komma and not dot) the payment is added without any problem. We didn’t have this problem in the previous versions, and we could keep it as default. In the changelog I see that you changed something on the decimals in this version. So probably this has something to do with this. |
|
This reply has been marked as private. | |
I’m trying to recreate the issue, but all good in my end. Can i get more information’s from you, Can you take screenshot of this. Then send us also a screenshot of your setting. thanks |
|
Belgium country setting: https://pevaz.be/wp-content/uploads/2023-10-19_13h09_10.png |
|
Hi Manuel, I can reproduce this and we are currently investigating. |
|
Thank you for the confirmation. Can you keep me posted on the progress on this bug? In the meantime we manually change the decimal to komma. |
|
If you are comfortable with PHP and FTP/File Manager you work around this with a small change:
Line 1852 will be something like:
Change that to be:
That should change it back to how it worked previously. We’ll need a better fix in a future version but that should help you for now. |
|
Hello Tony, I have changed this in the transactions admin page core file and did some testing. Everything works again as before. Thank you for your help. |
|
good to hear everything goes well. Yes, we will be putting this fix on the upcoming update. have a wonderful day. |
|
The support post ‘Problems with decimal sign after update’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.