We have an add-on that will allow you to select specific payment methods available on your events, it has not been officially released yet but is available for testing if you’d like to try it:
However the snippet you linked to excludes a payment method from a specific event in EE3. The add-on for EE4 works in the opposite way, you would setup the payment methods to be event specific and then set which events see which payment method.
There is a filter you can use to do the same thing in EE4, FHEE__EEM_Payment_Method__get_all_for_transaction__payment_methods that passes the payment methods, transaction and scope which can be used to remove a payment method for a specific event ID if preferred.
Viewing 1 reply thread
The support post ‘EE4 Hide payment method’ 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.