Support

Home Forums Event Espresso Premium Create New Ticket Not Working

Create New Ticket Not Working

Posted: September 7, 2022 at 10:26 am

Viewing 1 reply thread


jmichel

September 7, 2022 at 10:26 am

Hello!

I am running Event Espresso v. 4.10.38p with no add-ons and no other WordPress plugins. When creating a new event, the “Create New Ticket” button does not work. Upon clicking the “Create New Ticket” button, the page refreshes but no new ticket type is added to the event. I have monitored for client-side JavaScript errors via the web browser developer tools console and no errors are reported. By intercepting the HTTP POST request resulting from clicking the “Create New Ticket” button, I observe that the POST form data contains the following invalid data for the new ticket row:


ticket_total_rows=1&TICKETNAMEATTR%5BTICKETNUM%5D%5BTKT_ID%5D=0&TICKETNAMEATTR%5BTICKETNUM%5D%5BTKT_is_default%5D=&TICKETNAMEATTR%5BTICKETNUM%5D%5BTKT_name%5D=&TICKETNAMEATTR%5BTICKETNUM%5D%5BTKT_start_date%5D=2022-09-07+12%3A13+pm&TICKETNAMEATTR%5BTICKETNUM%5D%5BTKT_end_date%5D=2022-10-07+08%3A00+am&edit_prices%5BTICKETNUM%5D%5B1%5D%5BPRC_amount%5D=0&edit_prices%5BTICKETNUM%5D%5B1%5D%5BPRT_ID%5D=1&edit_prices%5BTICKETNUM%5D%5B1%5D%5BPRC_ID%5D=0&edit_prices%5BTICKETNUM%5D%5B1%5D%5BPRC_is_default%5D=&TICKETNAMEATTR%5BTICKETNUM%5D%5BTKT_qty%5D=0

By changing this to the below (on-the-fly, via Burp’s interception capabilities), the new ticket type is correctly created.


ticket_total_rows=2&edit_tickets%5b1%5d%5bTKT_ID%5d=0&edit_tickets%5b1%5d%5bTKT_is_default%5d=&edit_tickets%5b1%5d%5bTKT_name%5d=New%20Ticket%20Type&edit_tickets%5b1%5d%5bTKT_start_date%5d=2022-09-08%2012:06%20pm&edit_tickets%5b1%5d%5bTKT_end_date%5d=2022-10-08%2008:00%20am&edit_prices%5b1%5d%5b1%5d%5bPRC_amount%5d=0&edit_prices%5b1%5d%5b1%5d%5bPRT_ID%5d=1&edit_prices%5b1%5d%5b1%5d%5bPRC_ID%5d=0&edit_prices%5b1%5d%5b1%5d%5bPRC_is_default%5d=&edit_tickets%5b1%5d%5bTKT_qty%5d=10

While I have been able to develop a workaround to meet my acute need, it is cumbersome to have to intercept and modify the application’s in-flight POST requests to make it work properly. Can you please fix the client-side JS to send the correct POST form data upon clicking the “Create New Ticket” button?

Thanks!


jmichel

September 7, 2022 at 11:14 am

This was resolved by performing the “Reset Event Espresso Capabilities” and “Reset Event Espresso Tables” operations under Event Espresso > Extras > Maintenance > Reset/Delete Data.

Viewing 1 reply thread

The support post ‘Create New Ticket Not Working’ 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