Support

Home Forums Event Espresso Premium Payment Method – Invoice for Admin Only

Payment Method – Invoice for Admin Only

Posted: November 15, 2018 at 4:39 pm

Viewing 1 reply thread


Mike Doughty

November 15, 2018 at 4:39 pm

Hi,

We are using EE4, and Infusionsoft Addon for processing credit cards.

Is it possible to turn on the invoicing, so that only the EE Admin can use this feature, and it does not show publicly?

Thanks, Mike


Tony

  • Support Staff

November 16, 2018 at 7:23 am

Hi Mike,

Do you mean on the front end or the admin?

If the admin you can set the Invoice payment method not to show on the fron end, you’d basically want the opposite selection shown in this screenshot – http://take.ms/vbcme

(uncheck the front end and check the admin)

If you mean on the front end, then no, not through the UI at least but I have a snippet that will show an Invoice option only for admins here:

https://gist.github.com/Pebblo/f952f806aec55df5f8a1

The capability check is done on line 10 and the important one is current_user_can( 'manage_options' ) you can change that cap to another if you prefer but the above will work for ‘standard’ admins.

Viewing 1 reply thread

The support post ‘Payment Method – Invoice for Admin Only’ 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.

Event Espresso