Posted: October 23, 2013 at 11:54 am
We are using Event Espresso – 184.108.40.206.P
We have two categories of events and would like to disable offline/cash payments for events in the second category and only accept credit card payments.
1. Which template(s) determine what gateways are shown?
Thanks for your help!
There are action hooks that you can use to disable specific gateways for specific events. While it’s on our radar to add an interface to set gateways for events the newer releases do not have this feature.
Here’s a link to a github gist that has some example code you can adapt to make different payment gateways for different events:
We are using the Check/Money Order gateway and the E-xact gateway.
We’d like to disable the “Check/Money Order” gateway for all events in a specific category.
1. Do you have a link to a list of the action hooks?
Displaying payment options by event category instead of by event_ID will involve additional programming because in this case the event category isn’t an available variable where these hooks fire.
So for #1, the list of hooks are in the documentation:
For #2 the one issue I see with doing this is you will not be able to use the Multi Event Registration plugin since it allows multiple events to go into one transaction. If someone has an event from each category then it could make both payment options disappear, or just not work and display both payment options.
Thank you Josh – I’ll mark this ticket resolved now.
The support post ‘Different payment gateways for different events’ 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.