Support

Home Forums Event Espresso Premium Purchasing Tickets From WP Admin Area

Purchasing Tickets From WP Admin Area

Posted: September 1, 2015 at 2:54 pm


MCE

September 1, 2015 at 2:54 pm

Hello EE support team,

I have a questions regarding purchasing tickets. Let’s say that a user calls in and wants to purchase a ticket for an event but doesn’t have time to fill out the form themselves. Is there a way through the WP admin area, where we can purchase this ticket for the user who called in.

I know that there is an option to register someone via the admin area “Event Espresso -> Courses -> Registrations section and by clicking on “Add New Registration”. But after we register the user by filling out the “personal information” it brings us to a step to “Apply Payment”. Once we select Apply Payment, it gives us some options for method of payment which is great. Lets say we select Credit Card. There doesn’t appear to be an option to enter the customers credit card number? So is there anyway that we can actually process the payment from here?

I know a simple solution would be to just use the form on the front end, and fill in the user’s information. But our client would really like a way to pay for an event through the WP Admin area.

Thank you,
Brandon


Jonathan Wilson

September 1, 2015 at 3:04 pm

Hi Brandon,

Due to security concerns, we have not developed a backend credit card processor. This is something we would like to develop in the future, but have not added it to our roadmap. So, processing from the frontend is currently the only way to do this.

I have added this feature request to our Public Roadmap on Trello. You can vote for it here: https://trello.com/c/AvA1nlnV


MCE

September 1, 2015 at 3:31 pm

Hi Jonathan,

Thank you for such a quick response! This is what I thought the reason was and makes complete sense. I do have one other separate question, which I hope you can shed some light on.

Is there anyway to currently add a question to the Billing Information form. Just to clarify, I know we can add questions to the attendee information form, but I am looking to add a field into the “Step 2” portion of the registration process, for the “PAYMENT OPTIONS” form. So this would be the same step that they fill in their billing information and credit card info.

Much appreciated,
Brandon


Garth

  • Support Staff

September 1, 2015 at 4:57 pm

Hi Brandon,

How are you today?

A couple questions:

  • Which payment method are you using?
  • What type of question/information are you trying to add to the billing form?


MCE

September 3, 2015 at 9:00 am

Hello,

We are using authorize.net as a payment gateway and we would like to add an optional field for Company Name. Is there anyway for us to add this to the billing form? We already have this field added on the attendee information form, but would also like this field on the billing information form.

Thanks again,
Brandon


Lorenzo Orlando Caum

  • Support Staff

September 3, 2015 at 12:52 pm

Hi Brandon, this isn’t something that I’m familiar with so I’ve sent a question to our developer that works with payment gateways for Event Espresso.

Once I hear back, then I’ll update your support post with more information.

Thanks


Lorenzo


MCE

September 8, 2015 at 7:38 am

Hello,

I am just wondering if anyone has been able to confirm if it is possible to add another input field, to the billing information form found on Step 2 of the course registration? We have been able to add an extra field to the attendee information form, but also need a field added to the billing information form.

Thank you,
Brandon


Tony

  • Support Staff

September 9, 2015 at 3:57 am

Hi Brandon,

Auth.net is a little unique in that they allow you to specify additional fields that you may or may not require, most gateways do not allow for this (they only allow specific fields and the gateway determines if they are required or not)

We have an open ticket to allow our auth.net payment method to add the some of additional fields allowed within your auth.net account (Company being one of those) and have added this thread to the notes there.

It isn’t not something you can easily add yourself without modifying the code used by the payment method.


MCE

September 10, 2015 at 12:11 pm

Hi Tony,

I found the payment gateway code for Auth.net found here: /event-espresso-core-reg/modules/gateways/Aim/EE_Aim.class.php. I have edited the file to add in the company name field but it doesn’t seem to be displaying. I would attach the updated file to this message but it doesn’t appear I can attach a file. I have added the below code to line 516:
‘_reg-page-billing-company-‘ . $this->_gateway_name => array(
‘db-col’ => ‘company’,
‘label’ => __(‘Company’, ‘event_espresso’),
‘input’ => EEM_Question::QST_type_text,
‘type’ => ‘string’,
‘sanitize’ => ‘no_html’,
‘required’ => FALSE,
‘validation’ => TRUE,
‘value’ => NULL,
‘format’ => ‘%s’
)

and have also added this code to line 225:
$this->setField(‘company’, $billing_info[‘_reg-page-billing-company-‘ . $this->_gateway_name][‘value’]);

What else do I need to add to get the company name to show up on the registration form? Also what should the value be for the db-col field as right now I have it set to ‘company’ as you can see above. Thanks for your time and assistance!

Thank you,
Brandon


MCE

September 10, 2015 at 3:38 pm

Hello,

I just wanted to confirm that we have figured this out and also needed to add an additional field to the EE_Onsite_Gateway.class.php file. Everything is working as expected now.

Thank you


Josh

  • Support Staff

September 11, 2015 at 12:36 pm

Please consider opening a pull request on Github so that instead of directly editing the core files, the same changes can be made with a filter hook. This way, you’ll not have to manually update files each time you run an update.

https://github.com/eventespresso/event-espresso-core/issues

The support post ‘Purchasing Tickets From WP Admin Area’ 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