Support

Home Forums Event Espresso Premium Incorrect calculation in shopping cart

Incorrect calculation in shopping cart

Posted: March 13, 2024 at 9:08 pm

Viewing 22 reply threads


JohnB

March 13, 2024 at 9:08 pm

Just updated to latest version Version 5.0.18.p and now experiencing a problem.
A ticket price is set at $250 + 10% GST $25 = $275-00 (I have checked the ticket price settings and they are all still correct)
System is accepting payment amount $275 however the EE shopping cart is doing incorrect maths and showing the amount due to be $300 and issuing reminder to client to pay an extra $25
When I click on Pay Menthods option in EE, I get a page showing this message:
There has been a critical error on this website. Please check your site admin email inbox for instructions.
I have a screen shot to show the cart with error.


Rio

  • Support Staff

March 13, 2024 at 9:33 pm

Can you send us screenshot of the error you see? Can you also send the error log here?

for the wrong computation, can you give more details on your ticket and its pricing? Does this happen on all your event or just on particular event? Can you send link of the event here? you can send it as private message if needed.

thanks


JohnB

March 14, 2024 at 4:30 pm

How do I send the screen shot?
Where do I find the error log?

Can you please send me a copy of the previous version of EE so I can reload it.


Tony

  • Support Staff

March 14, 2024 at 5:01 pm

This reply has been marked as private.


JohnB

March 14, 2024 at 5:12 pm

https://tatsa.com.au/wp-content/uploads/PayPal-Error.png

How do I send the file error log to you?


Tony

  • Support Staff

March 14, 2024 at 5:32 pm

I’ve just tested registering onto an event, checkout shows the correct values:

https://monosnap.com/file/VOM1hULZqBPMSsQvIiRJEnOFr0sxj9

So this only happens after the registration has been finalized?

How do I send the file error log to you?

Send it over to support@eventespresso.com and I’ll take a look.


JohnB

March 14, 2024 at 5:54 pm

Thanks Tony,
I can see that transaction has done the maths correctly.
Will see what happens with ongoing transactions.

Error log emailed


JohnB

March 14, 2024 at 10:30 pm

I have rolled back to prior version. In a few days I will do the update and see how it goes.


Rio

  • Support Staff

March 15, 2024 at 12:00 am

Awesome, please let us know if you experience any problem or if you have question and concern.

Have a wonderful day.

thanks


JohnB

March 15, 2024 at 4:35 pm

Thanks,

Rolled back to Version 5.0.17.p

Still got the problem as per first post here:

When I click on Pay Menthods option in EE, I get a page showing this message:
There has been a critical error on this website. Please check your site admin email inbox for instructions.

Any ideas on what is causing this?


Rio

  • Support Staff

March 15, 2024 at 9:53 pm

Were you able to send the error log to what tony said?

Send it over to support@eventespresso.com and I’ll take a look.

Do you experience any problem aside from that warning?

here’s the guide on how you enable error log,
https://eventespresso.com/wiki/troubleshooting-checklist/ if the log is empty and you can still see the error, you need to do the steps you did so it will catch the log.

Then you can also fill the form so we can check it. https://eventespresso.com/send-login-details/

thanks


JohnB

March 18, 2024 at 3:56 pm

Rio, yes log sent 15/03/2024


JohnB

March 19, 2024 at 4:37 pm

Just noticed the same error in calulation has occured. Seems to be limited to when student pays with PayPal.
Still unable to access the “Payment Methods” section of EE.


Rio

  • Support Staff

March 19, 2024 at 8:33 pm

This reply has been marked as private.


JohnB

March 21, 2024 at 4:55 pm

I have updated to the latest version and will monitor what happens. As mentioned the error has only occurred when paypal payment option is selected and payment made.

The error with accessing the payment methods tab is still happening. The previous log was emailed to EE, do you need another log? The file contains a lot of data so it would be quite extensive to post it here.


Tony

  • Support Staff

March 21, 2024 at 6:03 pm

Hi John,

I can’t find any log files within our support inbox.

However, rather than sending them over, can can do a quick search for ‘Illegal mix of collations’ within the log file? If that’s the error being thrown I already know the fix for it.

If not we can investigate further.


Tony

  • Support Staff

March 21, 2024 at 6:04 pm

Just noticed the same error in calulation has occured. Seems to be limited to when student pays with PayPal.
Still unable to access the “Payment Methods” section of EE.

A partial payment? Whats the setup for this?

Line items (which is what would be breaking this) are created outside of payment methods so I need details of how this is set up to see if I can reproduce


JohnB

March 21, 2024 at 6:43 pm

As per first post, the payment due is $250 + GST 10% = $275, however the system is shows it is due $300 ie charging the GST twice.

What do you mean “what is the set up for this?”

I’m not sure what log file I should be sending. It would be better if I granted you access to the the control panel and find it as you would know which one to search for.


Tony

  • Support Staff

March 21, 2024 at 7:07 pm

As per first post, the payment due is $250 + GST 10% = $275, however the system is shows it is due $300 ie charging the GST twice.

I understand that part but you mentioned this is only happening with PayPal payments, so any partial payments? Moved registrations?

Or is this simply a ‘standard’ registration?

Line items (the items that make up a transaction, to which a payment will apply to) are generated outside of payment methods so it is really strange that is would only be happening when using PayPal.

Any custom code on the site to hook and charge based on the selected payment method at all? (Or any custom code at all for EE?)

I’m not sure what log file I should be sending. It would be better if I granted you access to the the control panel and find it as you would know which one to search for.

Sure, if that’s what you prefer to do, you can send credentials over using this form:

https://eventespresso.com/send-login-details/


JohnB

April 1, 2024 at 7:05 pm

Hi Tony,
Dont know why my last reply isn’t showing here.
It is for a standard registration.
Yes, I have no clues as to why it is happening and as per previous replies, I can’t access the Payment Options screen – need that resolved as the simplest option is to turn off PP payment choice.
WP User set up


Tony

  • Support Staff

April 2, 2024 at 8:44 am

This reply has been marked as private.


JohnB

April 2, 2024 at 3:30 pm

This reply has been marked as private.


Tony

  • Support Staff

April 3, 2024 at 5:58 am

This reply has been marked as private.


JohnB

April 3, 2024 at 5:17 pm

This reply has been marked as private.


Tony

  • Support Staff

April 3, 2024 at 7:24 pm

This is someting WebAware (the author of the Eway Payment Gateway plugin) needs to fix.

In their latest version they changed this file:

\eway-payment-gateway\includes\integrations\event_espresso_eway\EE_PMT_event_espresso_eway.pm.php

and changed this line of code:

$ver = SCRIPT_DEBUG ? time() : EWAY_PAYMENTS_VERSION;

To be:

$ver = get_cache_buster();

But the file holding the get_cache_buster() function doesn’t load on that request so throws a fatal error.

Changing the code back will fix it but then a fatal error will be thrown again when you update unless they update their code.

I recommend opening a support ticket with them to have them fix that fatal.

Viewing 22 reply threads

The support post ‘Incorrect calculation in shopping cart’ 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