Support

Home Forums Event Espresso Premium Add paypal fee to transaction

Add paypal fee to transaction

Posted: April 15, 2015 at 8:13 pm


Leisha

April 15, 2015 at 8:13 pm

I’ve seen posts saying the ability to add a percentage surcharge to cover the additional paypal fees is coming. Can you update as to when this will be? Is there any work around that would let us cover this? Events can run in the 100s and the fee is significant.


Lorenzo Orlando Caum

  • Support Staff

April 16, 2015 at 1:27 pm

Hi Jase, we do not have an estimate on when this will be available.

A workaround is to add a surcharge as a percentage via the ticket editor within the event editor in your WP Dashboard.


Lorenzo


Leisha

April 17, 2015 at 3:18 am

Wouldn’t that add the surcharge to all forms of payment?

The only workaround that I could figure out just for paypal is to add this to functions.php:

https://gist.github.com/lorenzocaum/36a67c86017cd10cc97d24140e7624ad

and to add this to footer.php in the themes folder:

https://gist.github.com/lorenzocaum/83909191de774d838fd86010dc6e413f

It’s the ugliest hack I think I’ve ever done. I’m going to go cry in a corner now.


Josh

  • Support Staff

April 17, 2015 at 5:46 am

Hi Jase,

You should be able to avoid the hack (and the crying in the corner) by using the following filter hook to add a fee to the amount of what’s sent to PayPal.

FHEE__EEG_Paypal_Standard__set_redirection_info__arguments


Leisha

April 28, 2015 at 3:50 am

For others researching this, instead put this in functions.php

https://gist.github.com/lorenzocaum/8ff76a4ae97ebe3ccc596f9c6d3316ca

  • This reply was modified 5 years, 5 months ago by  Josh. Reason: fixed code formatting
  • This reply was modified 5 years, 5 months ago by  Tony. Reason: Added some nicer formatting


Josh

  • Support Staff

April 28, 2015 at 9:01 am

Hi Jase,

Thanks for sharing your solution. It may help others to put that in a gist and link here so the quotes don’t get formatted. I’ll go ahead and fix the above code so no one ends up using this as is.

Or with shorter snippets like what you have there, you can use back ticks to make sure the quotes in the code don’t get eaten by bbpress.


hojati

May 14, 2015 at 6:29 am

How do i add this functionallity for bill payments?


Josh

  • Support Staff

May 14, 2015 at 6:51 am

Hi Hojati,

I’m not sure what you mean by bill payments. Can you explain?


hojati

May 17, 2015 at 10:05 am

Another name for this is “Invoice”


Josh

  • Support Staff

May 18, 2015 at 9:13 am

Hi there,

Are you offering the invoice payment method and other payment methods too, where you want the fee to only apply to transactions where the invoice method is selected –or– are you only offering payment by invoice?


hojati

May 19, 2015 at 12:41 am

I want to offer Payment by PayPal and Invoice.

The Payment with PayPal wont have an extra fee.
But since Invoice is a lot of manula work i want to add a extra fee by 2.50$


Lorenzo Orlando Caum

  • Support Staff

May 19, 2015 at 7:46 am

Hi Hojati, the example shared in this support post can only be applied to PayPal Standard transactions in Event Espresso 4.

We are planning an add-on that will allow you to specify additional surcharges per payment option (e.g. apply to invoice but not to PayPal).


Lorenzo


hojati

May 19, 2015 at 11:48 pm

So then will this addon ge online?


Lorenzo Orlando Caum

  • Support Staff

May 20, 2015 at 7:21 am

Hi, its currently in the planning stage so likely later this year.


Lorenzo

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  Lorenzo Orlando Caum 5 years, 4 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!