Hi,
I’m using EE4. I would like to offer different prices for the different gateways I have to compensate for the payment processing surcharges. Now, since EE doesn’t offer gateway specific surcharges I thought I could create different tickets, let’s say “Standard – PayPal” and “Standard – Mijireh”. Is there a hook, a filter I can use in code where I can prevent a gateway option from showing up in the checkout process when a certain ticket type is selected?
Many Thanks.
There is not an existing hook to filter the payment options based upon the ticket selection. At this point it would be best if you requested access to our private GitHub repo and submit a pull request for us to add the hook(s) and filter(s) you need into the core files so that you do not lose those hooks when updating.
Not currently. If you see a place where a hook can help make this happen, please submit a pull request. Here are some instructions on how to get set up on Event Espresso’s Github repo:
Thank you for your replies. I will take a look at the code.
Viewing 3 reply threads
The support post ‘Hook to filter payment gateways’ 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.