Main problem is that due the processing status the pdf tickets are not sent. When I do this manually in WC admin and change status to complete it is send with atachment. As soon as I use a plugin to auto complete or use your snippet to auto complete the ticket is send but not with attachment. Only the email. So somewhere when you do this manually it works one by one. With automation the mail is sent empty
Jun 16,2025 AT 3:02AM - 4 hours ago -Hello,
First of please update Tickets to the latest version.
Next, please remove our snippet and then go to EventON > Tickets > Checkout > enable Enable auto complete ticket orders.
Try sending a new order.
If the issue continues, please follow the instructions in this documentation to activate debug in your site to see any PHP errors recorded that can provide insight on to whats going on. Please reply with a link to debug.log file. If you are not able to do this please send us FTP access to your site so we can do this for you.
Oke thank you. I’ven done that but now I get an error message: Cannot read properties of undefined (reading ‘match’)
Although now the ticket is send with attachment so that is fixed. I have to say that I put WC Paynent in testmode. Could that have anything to do with the message?
oh in addition the cart status is not emptied and there is no payment done
This is the debug error message:
[16-Jun-2025 13:28:19 UTC] get_billing_first_name was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, AutomatticWooCommerceStoreApiRoutesV1Checkout->get_response, AutomatticWooCommerceStoreApiRoutesV1AbstractRoute->get_response_by_request_method, AutomatticWooCommerceStoreApiRoutesV1Checkout->get_route_post_response, do_action(‘woocommerce_store_api_checkout_order_processed’), WP_Hook->do_action, WP_Hook->apply_filters, EVOTX_WC->create_evo_tickets_for_store_api, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_completed’), WP_Hook->do_action, WP_Hook->apply_filters, EVOTX_WC->send_ticket_email, evotx_email->send_ticket_email, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
[16-Jun-2025 13:28:19 UTC] get_billing_last_name was called incorrectly. Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, AutomatticWooCommerceStoreApiRoutesV1Checkout->get_response, AutomatticWooCommerceStoreApiRoutesV1AbstractRoute->get_response_by_request_method, AutomatticWooCommerceStoreApiRoutesV1Checkout->get_route_post_response, do_action(‘woocommerce_store_api_checkout_order_processed’), WP_Hook->do_action, WP_Hook->apply_filters, EVOTX_WC->create_evo_tickets_for_store_api, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_completed’), WP_Hook->do_action, WP_Hook->apply_filters, EVOTX_WC->send_ticket_email, evotx_email->send_ticket_email, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
Okay, trying to reproduce. When I unchecked the option in tickets->checkout-> autocomplete the error is not appearing and the behaviour is correct. So I assume it is in the option for autocomplete…