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”.
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.
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.
Support forum for Event Espresso 3 and Event Espresso 4.