Support

Home Forums Event Espresso Premium Surcharge on Total Amount

Surcharge on Total Amount

Posted: January 26, 2017 at 11:37 am


Amdur Productions

January 26, 2017 at 11:37 am

We had a surcharge of 3% on the total amount due (ticket price + Extras) on the old plug in but when we updated the plug in, it’s only charging the surcharge on just the ticket and not the total (ticket + extras). How can I fix it?


Josh

  • Support Staff

January 26, 2017 at 11:46 am

Hi there,

Did you customize the code in the older plugin to make that 3% surcharge get added?


Amdur Productions

January 26, 2017 at 12:09 pm

It was coded by someone previously at the company and since updating it it no longer works and ask him to point you in the right direction


Josh

  • Support Staff

January 26, 2017 at 12:35 pm

They’ll need to reapply the code then, however if they would have made the change correctly by using hooks and filters, they could have avoided losing the change.


Amdur Productions

January 26, 2017 at 12:44 pm

That functionality is not available on the new Event Espresso somewhere?


Josh

  • Support Staff

January 26, 2017 at 1:27 pm

It would also require doing some customization, but you do not need to directly alter Event Espresso’s code to achieve this. Here’s one example of what can be achieved via hooks using a bit of code put into its own plugin, with Event Espresso 4:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/bc_ee_apply_transaction_surcharge.php

The support post ‘Surcharge on Total Amount’ 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