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?
2. How could I create a condition that allows me to show only certain payment gateways?
3. I suspect this is probably not a commonly requested feature, but does one of the newer releases include payment gateway settings for different event categories?
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:
Hi Josh,
Thank you for the fast reply and link to the example code.
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?
2. Can you think of anything I need to be careful about if we disable offline payments for certain events even though they are accepted for other events?
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.
Scott
Viewing 4 reply threads
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.
Support forum for Event Espresso 3 and Event Espresso 4.