Support

Home Forums Event Espresso Premium Change Fee from Payer to Payee

Change Fee from Payer to Payee

Posted: March 14, 2014 at 11:35 am


Thomas Bliss

March 14, 2014 at 11:35 am

Event Esporesso has the ability to add in a flat fee that we want to use to cover transaction cost. I am using the WePay capability. How do I change the the cost to come from Payer to Payee when sending the information to WePay?

Change “fee_payer”: “payer” to “fee_payer”:”payee”.


Josh

  • Support Staff

March 14, 2014 at 11:38 am

Hi Thomas,

I took a look at the WePay developer API and it turns out there is a way to set it so the Payee pays the fees. It’s set with a single line of code:

$fields['fee_payer'] = 'payee';

The above can be added to the Event Espresso WePay gateway’s wepay_vars.php file on line 23. The wepay folder can then be copied over to /wp-content/uploads/espresso/gateways to prevent it from being overwritten on an update.


Thomas Bliss

March 14, 2014 at 11:48 am

Thanks. I’ll work it with your feedback.


Josh

  • Support Staff

March 17, 2014 at 9:05 am

You’re welcome.

The support post ‘Change Fee from Payer to Payee’ 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