Support

Home Forums Event Espresso Premium Different payment gateways for different events

Different payment gateways for different events

Posted: October 23, 2013 at 11:54 am


sheathe

October 23, 2013 at 11:54 am

We are using Event Espresso – 3.1.24.1.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?
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?

Thanks for your help!


Josh

  • Support Staff

October 23, 2013 at 12:11 pm

Hi there,

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:

https://gist.github.com/joshfeck/6768792


sheathe

October 23, 2013 at 12:35 pm

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?

Thanks again
Scott


Josh

  • Support Staff

October 23, 2013 at 12:43 pm

Hi Scott,

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:

http://eventespresso.com/wiki/event-espresso-3-1-action-hooks/
http://eventespresso.com/wiki/event-espresso-3-1-filters/

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.


sheathe

October 23, 2013 at 12:50 pm

Thank you Josh – I’ll mark this ticket resolved now.
Scott

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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  sheathe 5 years, 11 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!