Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/distool-de/tickera-order-ticket-fetcher-addon/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Description
This WordPress plugin serves as an addon for Tickera, enabling the querying of ticket instances based on order information.
Installation
- Download the plugin zip file.
- Upload the plugin directory to the
/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
Usage
This plugin adds a function to the init hook, allowing you to retrieve ticket instances based on order information via a custom endpoint. To query ticket instances, you need to provide the order_id and order_key parameters in the URL.
Parameters
order_id: The ID of the order.order_key: The key associated with the order.
Example Usage
https://yourwebsite.com/?order_id=123&order_key=your_order_key
Requirements
- WordPress version: 6.8.1 or higher
- PHP version: 8.0 or higher
- Required Plugins: tickera-event-ticketing-system, WooCommerce 8.2+
Author
- Name: Distool.de
- Website: Distool.de
Version
0.9.2
Text Domain
tcotf
Update URI
Disclaimer
The authors and distributors of this plugin do not take any responsibility for any consequences resulting from the use of this software. Use at your own risk.
Changelog
-
Version 0.9.2
- Add new way to calc. hash
-
Version 0.9.1:
- WooCommerce HPOS compatibility: replaced
get_posts(shop_order)withwc_get_order()(required for WC 8.2+). - Fixed fatal PHP error when an invalid order ID was passed (null check now happens before property access).
- Fixed missing
require_onceforclass.tc-pos-ticket-template.php— Tickera admin template selector was never loaded. - Replaced custom timestamp-based order key validation with
$order->get_order_key(). - Added nonce verification (
woocommerce_meta_nonce) to the WooCommerce product save handler. - Removed debug
print_r/printstatements from production code. - Initialized
$response = []to prevent undefined variable warning on empty orders. - Fixed text domain
'woocommerce'→'tcotf'.
- WooCommerce HPOS compatibility: replaced
-
Version 1.0.0:
- Initial release.
- Key features:
- Added functionality to query ticket instances based on order information.