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.
The contact form must contain “Email”, “Full Name”, “Subject” and “Message” fields at least.
The osTicket API is used as simple XML or JSON over HTTP. Ticket creation is supported only.
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.
- 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.
- Go to Plugins > Add New > search for “scand-osticket-connector”
- Press “Install Now” button for the “osTicket Connector” plugin
- Press “Activate” button
- Upload the “scand-osticket-connector” directory to the “/wp-content/plugins/” directory
- Activate the plugin through the “Plugins” menu in WordPress
How to use this plugin with the contact form ?
- Specify all required fields in the settings (Admin -> Settings -> osTicket Connector).
- The name of fields should be the same as on your form.
- Sometimes it is necessary to use a hidden field on your contact form. The name of the input should be the same as the one you have specified in “Form Identifier” option for “osTicket Connector” and set the value equal to “1”. By the way, it can be any unique field name which the form sent.
- Enjoy the new functionality you got!
How to configure Contact Form 7 ?
- Create a new form with all necessary fields.
- Add a hidden input to your contact form (see “Example of Contact Form 7” screenshot).
- Indicate fields matching (see “Contact Form 7 fields settings” screenshot)
How to configure Formidable ?
- Create a new form with all necessary fields and remember IDs of form fields (see “Example of Formidable form” screenshot, green arrow).
- If you use the free version of Formidable, add the real ID of the Help Topic to the beginning of the selected option. The possible variant shown on “Example of Formidable form” screenshot (red arrow).
- Indicate fields matching (see “Formidable fields settings” screenshot). For “Form Identifier” option set the “form_key” value. For other fields you should use next format “item_meta|<filed_ID>”, where filed_ID is real ID of field on your contact form.
How to configure WPForms ?
- Create a new form with all necessary fields and remember IDs of form fields (see “Example of WPForms form” screenshot).
- Indicate fields matching (see “WPForms fields settings” screenshot). For “Form Identifier” option set the “wpforms” value. For other fields you should use next format “fields|<filed_ID>”, where filed_ID is real ID of field on your contact form.
Katkıda Bulunanlar ve Geliştiriciler
“osTicket Connector” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye katkıda bulunmuşlardır.Katkıda bulunanlar
Fixed comma validation for multiple fields.
Logs the $_REQUEST when creation of ticket fails.
Added ability to handle uploaded files for Formidable.
WPForms support added.
Changed list of required fields (topic has become optional).
Added ability to processing of form requests for plugins which send form’s fields as array (for example, Formidable).
If the phone extension is not provided, do not add a capital “X” as part of the phone.
Changed validation rules for attribute names.
Added Russian translation.
Added filter to process option values for drop-down when Contact Form 7 is used.
Release of the plugin.