Posted: 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. or 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). |
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: https://gist.github.com/Pebblo/f952f806aec55df5f8a1 Thats setup to use the ‘Invoice’ payment method, but you can just change this line: https://gist.github.com/Pebblo/f952f806aec55df5f8a1#file-ee-site-specific-plugin-php-L20 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 – http://take.ms/0ztJe 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 – http://take.ms/dSWdy You can add that snippet to custom functions plugin on your site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
|
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. |
You’re most welcome and I’m glad that works for you. Just to note, that snippet checks for the |
|
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.