• Resolved Ced

    (@cedriccharles)


    Hello there πŸ™‚

    First of all, thank you for this great plugin.

    I’m using Ninja Forms and its add-on “Front-end posting” to create a post/custom post on form submission. I’ve tried to use this to create a ticket, but for some reason it doesn’t work properly. The ticket is created because I can see it in the front-end ticket list, but it doesn’t appear in the back-end. Could you tell me if something important needs to be set when creating a ticket? Right now, I’ve map the ticket title, the ticket main content and the ticket post status (“publish”).

    Thank you in advance,
    Cedric

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Yeison Baron

    (@yeisonbp)

    Hi @cedriccharles,

    Tickets use a custom type called ticket, so you would need to “map” those fields and create a ticket. We currently have an integration with Gravity Forms that you might be interested and does what you need (it does not work with Ninja Forms):

    https://getawesomesupport.com/addons/gravity-forms/

    If you are more interested in this, you can fill in the form below:

    https://getawesomesupport.com/contact/

    Best Regards.

    Thread Starter Ced

    (@cedriccharles)

    Hello @yeisonbp πŸ™‚ !

    Thank you for your answer!
    I know that the CPT is “ticket”. As I told you, I’ve mapped the fields with the ticket fields, but for some reasons the ticket creation is not fully working. I can see the ticket in the front-end (where the user can see his tickets), but they do not appear in the WordPress back-end… Could you please tell me what are the required fields in order to make a ticket 100% functional? As I don’t see this in your documentation. Here this is not something related to the integration with a form plugin, but basic creation of ticket programmatically with PHP.

    Kind regards,
    Cedric

    Plugin Author Yeison Baron

    (@yeisonbp)

    Hi @cedriccharles,

    The most I could do in these scenarios (as is this an specific request) is to let you know that the key fields needed to create a ticket are:

    – Subject
    – Description
    – email address of the requester

    You would need to check if you want this for existing users or if you need to create users automatically, you would need to create custom code.

    Thanks.

    Plugin Author Yeison Baron

    (@yeisonbp)

    Hi,

    Marking this as solved. If you have any questions, you can let us know.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘“Programmatically” create a ticket’ is closed to new replies.