Support

Home Forums Event Espresso Premium Adding new Admin_Only Payment Method

Adding new Admin_Only Payment Method

Posted: October 6, 2015 at 7:50 pm


Ontario Art Education

October 6, 2015 at 7:50 pm

I set up our event and allowed people to have online payment options of Paypal (including credit card) and Invoice. These are fine for most people, but we also have workshop presenters and others who are allowed to attend for free. I didn’t want to create a Free Admission ticket because I know too many others would try to abuse the option!
So instead, I have the presenters register as normal, but pay by invoice. When we get their invoice, I want to offset the payment to mark them “paid” to complete their registration. But none of the existing “Admin_Only” payment methods are appropriate. I would like to add a new record to the payment methods table, but there is no front-end page to do this. What will happen if I insert a record into the table, using MySQLAdmin for example?

Existing Admin_Only Payment Methods are: Cash (Cash Delivered Physically); Credit Card (Offline Credit Card Payment); Debit Card (Offline Debit Payment); Money Order; and Paypal, (Paypal eCheck, Invoice, etc). I would like to add Offset (Administrative Offset) as an Admin_Only payment method.

If this is not a good idea, can you suggest another way to address this situation?
Thanks.


Lorenzo Orlando Caum

  • Support Staff

October 9, 2015 at 10:33 am

Hi, I believe you are referring to this area:

http://cl.ly/image/202N0R0q3d16

Would if help if we added another option called Other?


Lorenzo


Ontario Art Education

October 15, 2015 at 7:58 am

Another Admin-Only option called Other would work. That leavesit more flexible.

We would select the Other payment method, and then put our “Administrative Offset” in the Notes / Extra Accounting field.


Lorenzo Orlando Caum

  • Support Staff

October 15, 2015 at 10:29 am

Thanks for sharing additional feedback. I’ve created an enhancement ticket for this as I agree that it could be helpful!


Lorenzo


Lorenzo Orlando Caum

  • Support Staff

October 26, 2015 at 12:16 pm

Hello again,

I wanted to let you know that this is now available. First, please backup your WordPress site:

https://eventespresso.com/wiki/how-to-back-up-your-site/

Next, upgrade to the latest version of Event Espresso 4 through your WP dashboard.

Then go to WP-admin –> Plugins and deactivate Event Espresso 4 and reactivate it along with its add-ons. Then you’ll see a new “Other” option in the payment modal window in the transactions screen.

Its fairly easy to add new options as needed. Here is an example that will introduce one called Manual Labour:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/checkout/mn_add_admin_only_payment_method.php

It needs to be added to your theme’s functions.php file. Then you’ll want to deactivate and reactivate Event Espresso 4 so its picked up. Afterwards, you can remove the sample code from your theme’s functions.php file.

Thanks


Lorenzo

The support post ‘Adding new Admin_Only 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.

Event Espresso