Support

Home Forums Event Espresso Premium Want Invoice Option only Available to Certain People

Want Invoice Option only Available to Certain People

Posted: February 15, 2016 at 1:17 pm

Viewing 1 reply thread


hawkman

February 15, 2016 at 1:17 pm

I host an event every other Saturday and want most people to pay via credit card. There is one company that I allow invoicing to. If I show invoice option as a payment option, other will use it. I want to somehow allow this one company or others I select to be able to use it (maybe a special code, or special URL etc? Any ideas for EE4?


Tony

  • Support Staff

February 16, 2016 at 4:11 am

Hi there,

Do you require users to log in for your events?

You could setup a login for this company, assign them a role with a custom capability and then us something like this:

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

That function currently checks if you are an admin with the manage_options capability and adds a ‘Check’ payment method to the front end if you are but can easily be altered to check for a custom capability and include the Invoice payment method.

Would that work?

Viewing 1 reply thread

The support post ‘Want Invoice Option only Available to Certain People’ 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