Event Tickets 5.18.1

,
Published:
Share this

Summary

Feature Release

The latest update of Event Tickets includes Seating information in the Attendee archive REST API response, plus many more fixes.

As always, we recommend testing updates on a staging site first, but it should all be smooth sailing.


✨ Features

New features in this release:

  • Include Seating information in the Attendee archive REST API response.

✅ Fixes

Bugs squashed in this release:

  • Added a default empty array to `maybe_disable_foreign_key_checks`.
  • Attendee generation during order status transition becomes aware if attendees have been already generated.
  • Introduce an Order lock mechanism to ensure 2 or more actions that could update the order, they don’t do so at the same time.
  • Prevent duplicate orders and as a result, duplicated attendees when a payment would initially fail at least once.
  • Reverts aggressive hook update, causing fatals on installation with themes overwriting the template `Single Ticket Item`.
  • Screen options will no longer be disabled when Event Tickets is active.
  • Ticket sales will be counted correctly during status transitions of the orders they belong to.
  • Enhance the performance of order modifier database queries.
  • Method `should_payment_intent_be_updated` since it’s no longer needed.

⚙️ Tweaks

Tweaks in this release:

  • Add a filter to customize the cart hash cookie name for Tickets Commerce.
  • Introduced methods `can_change_to` for Statuses and `can_transition_to` for Orders.
  • Introduced various hooks for the order lock system and order completed checkout actions.
  • Lazy load attendees report page asset filter to properly localize asset data.
  • Added filters: `tec_tickets_commerce_attendee_update_args`, `tec_tickets_commerce_attendee_update`, `tec_tickets_commerce_cart_hash_cookie_name`, `tec_tickets_commerce_order_{$gateway_key}_upsert_args`, `tec_tickets_commerce_order_upsert_args`, `tec_tickets_commerce_order_upsert_existing_order_id`, `tec_tickets_commerce_order_{$gateway_key}_update_args`, `tec_tickets_commerce_order_update_args`, `tec_tickets_commerce_order_modifier_valid_statuses`, `tec_tickets_rest_attendee_archive_data`
  • Removed filters: `tec_tickets_commerce_order_modifier_status_flags`
  • Added actions: `tec_tickets_commerce_attendee_before_update`, `tec_tickets_commerce_attendee_after_update`, `tec_tickets_commerce_order_locked`, `tec_tickets_commerce_order_unlocked`, `tec_tickets_commerce_order_checkout_completed`
  • Changed views: `v2/tickets/item`

🗣 Translations

Updated language files and strings:

  • 3 new strings added
  • 111 updated
  • 2 fuzzied
  • 2 obsoleted