Home Forums Event Espresso Premium Link payment method availability to user role

Link payment method availability to user role

Posted: March 15, 2018 at 2:46 am

Ledbury Poetry Festival

March 15, 2018 at 2:46 am

We hope to use EE4 to sell tickets for a festival with around 100 events over 10 days. We expect around 50% of sales to be from a box office open for 5 weeks up to an including the event. Many of these will be cash sales so Box Office users will need to be able to use a method to accept these payments. The “Check” method would be fine but we have a big problem!

Can make “Ckeck” only available on the admin interface (great) but then have to process each event separately – could be 10 or more events, each requiring a separate transaction. Very time-consuming and the box office users already say this is unacceptable.


The box office user can use the online interface where the multi-event basket is available and it’s actually much easier to use than the administrator add registration method but I cannot hide or disable the “Check” option for other online users, where we only want card payments as an option.

Is there a way of linking the available payment methods to the user role? I would like “Check” to only be visible to admin users (ie box office staff) so that normal online registrants don’t see this option.

This is a show-stopper for us and if I can’t resolve it I don’t think we’ll be able to use EE4 as currently it’s unacceptable to our box office (if everyone bought online it would be great, but they don’t).


  • Support Staff

March 15, 2018 at 6:54 am

Hi there,

We don’t officially support front end admin only payment methods, but theres a snippet that can do what you are looking for here:

Thats setup to use the ‘Invoice’ payment method, but you can just change this line:

From ‘Invoice’ to ‘Check’.

Note that for this to work you need to enable the payment method in Event Espresso -> Payment methods.

Set the payment method form Admin only –

Then when and admin is logged into the site and runs a registration the payment method you set above will load for them but not normal users.

For example –

You can add that snippet to custom functions plugin on your site, we have some documentation on creating one here:

Ledbury Poetry Festival

March 15, 2018 at 11:36 am

Hi Tony. That has worked a treat – thank you very much for the quick response! I was getting concerned that after spending a lot oftime setting up EE it would let us down with this issue but I can make that work for us, I’m sure. Cheers. David.


  • Support Staff

March 15, 2018 at 3:00 pm

You’re most welcome and I’m glad that works for you.

Just to note, that snippet checks for the manage_options capability on the current users account so in short will only work as is for ‘Administrator’ roles but you can change that cap to any capability you prefer.

The support post ‘Link payment method availability to user role’ 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  Tony 2 years, 3 months ago ago

Topic Tags


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