Support

Home Forums Event Espresso Premium Decimal rouding prices as price not correct

Decimal rouding prices as price not correct

Posted: January 4, 2024 at 2:46 am

Viewing 8 reply threads


www.wptraining.at

January 4, 2024 at 2:46 am

Hi there,

i read through all the other post regarding this problem with decimal prices. For example a tickets is 109,00 and then when we charge 2 its 218,01 -> so we put in the settings for coutnry no decimals so thats showing now fine on the website and bills. But when we bill via mollie we have then again this 218,01 billed. Any fix for this? Thank you for your help.


Tony

  • Support Staff

January 4, 2024 at 6:14 pm

Hi there,

On your site go to Event Espresso -> Maintenance -> System Information.

On that page search for ‘precision’ using your browser.

Can you let me know what value is set for both ‘serialize precision’ and ‘precision’, please?


www.wptraining.at

January 5, 2024 at 12:16 am

Hi Tony,

here the values:

precision ( 3 ) access
7
global value
14
local value
14

serialize precision ( 3 )
access
7
global value
-1
local value
-1


Tony

  • Support Staff

January 5, 2024 at 4:52 am

Hmm, ok, that’s not what I expected for this.

The current values are ‘correct’ but for your issue I was expecting serialize_precision to be set to something higher like 14, which then throws off floats when used within json_encode() and Mollie maybe have rounded the value up… but that doesn’t seem to be the case.

How are you setting the price on the ticket?

Any taxes?

Can you link me to an event I can view this on?


www.wptraining.at

January 8, 2024 at 1:11 am

Yes we have taxes: here the link to the site: https://tickets.crossing-mind.de

Thank you for your help.

Martin


Tony

  • Support Staff

January 8, 2024 at 4:01 am

Hi Martin,

Ok, so using 19% VAT correct?

How did you generate the ticket price? Did you use the Ticket Price Calculator to generate the pricing for you? Like this:

https://monosnap.com/file/rF8XG23lPfACfJmtYqEokcgcr0Zp0s

The reason I’m asking is I’ve just worked through setting up a ticket to match your pricing and Mollie charges 218.00 for me:

https://monosnap.com/file/sNEnrE7d2jjMDmPDgWhghJeKtNNg3f

So I’m trying to work out what is different on your setup to cause the above.


www.wptraining.at

January 9, 2024 at 4:45 am

Great thanks for the tip thats working now as expected. Thank you again!


Rio

  • Support Staff

January 9, 2024 at 6:11 am

Awesome!, If you need anything, feel free to let us know.

thanks


Tony

  • Support Staff

January 9, 2024 at 7:31 am

I’m curious now…

How did you have this set up prior to the above? I’d like to investigate this further is possible.


www.wptraining.at

January 15, 2024 at 2:02 am

Hi we didnt use the tool as Rio wrote properly to round the decimals in the netto price. Now its all good.


Rio

  • Support Staff

January 15, 2024 at 4:05 am

This reply has been marked as private.
Viewing 8 reply threads

The support post ‘Decimal rouding prices as price not correct’ 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.

Event Espresso