This WordPress plugin supports the creation of new tickets in the osTicket system by using osTicket API. Only contact forms, which send emails, are supported as our plugin hooks the wp_mail function to get the forms’ data.
Important
The contact form must contain "Email", "Full Name", "Subject" and "Message" fields at least.
osTicket API
The osTicket API is used as simple XML or JSON over HTTP. Ticket creation is supported only.
Authentication
Authentication via the API is done via API keys configured inside the osTicket admin panel. API keys are created and tied to a source IP address, which will be checked against the source IP of requests to the HTTP API.
API keys can be created and managed via the admin panel. Navigate to Manage -> API keys. Use Add New API Key to create a new API key. Currently, no special configuration is required to allow the API key to be used for the HTTP API. All API keys are valid for the HTTP API.
See more details
here.
Deployment
- Configure osTicket support system to enable the access via API for your WordPress (see "Authentication" section).
- Set up the contact form and input the attribute value of the tag name exactly as given in the settings form of the plugin. This will let the data map to osTicket API data template correctly.
- Add a hidden input with a name specified in ‘Form Identifier’ while using the contact form.
1.0.9 (2023-04-13)
Added ability to define the specific WPForm for processing.
1.0.8 (2022-07-26)
Fixed comma validation for multiple fields.
Logs the $_REQUEST when creation of ticket fails.
1.0.7 (2021-09-23)
Added ability to handle uploaded files for Formidable.
1.0.6 (2021-08-27)
WPForms support added.
1.0.5 (2021-01-12)
Changed list of required fields (topic has become optional).
1.0.4 (2020-11-11)
Added ability to processing of form requests for plugins which send form's fields as array (for example, Formidable).
1.0.3 (2020-09-17)
If the phone extension is not provided, do not add a capital "X" as part of the phone.
1.0.2 (2017-12-04)
Changed validation rules for attribute names.
Added Russian translation.
1.0.1 (2017-03-14)
Added filter to process option values for drop-down when Contact Form 7 is used.
1.0.0 (2017-02-20)
Release of the plugin.