Jump to content

Open a support ticket


BAJI26

Recommended Posts

Is it possible to open a support ticket by just entering the info into the DB and which info is needed for this ticket to appear in WHMCS admin.

I just manually added a ticket to our v6 dev by adding a new row into the database table (tbltickets) - it appeared in the admin area... though I haven't tested replying etc to it.

 

I would guess (not tested) that as long as the ticketid is unique, it should be fine - but I don't know what the minimum information required would be, I just used the last row in the table as a template and added slightly different entries.

 

I would expect the official way to create a ticket would be to use the API rather than add an entry to the table directly.

 

http://docs.whmcs.com/API:Open_Ticket

Link to comment
Share on other sites

the row in that image is a genuine ticket, I had already deleted the 'faked' ticket.

 

for "c", I just entered "12345678" and it worked - not sure of its purpose, but it seemingly must be 8 characters... I deleted that value of "c", and the ticket was still showing in the admin area.

 

it's either going to be a random string or generated from existing values elsewhere... not sure which.

Link to comment
Share on other sites

I need now for when the ticket opens it sends and email to the email address that's in the ticket and also sends an email to support personnel that's in that department!

 

Any suggestions?

I think you're entering into the realms of using API and/or hooks...

 

http://forum.whmcs.com/showthread.php?106870-Open-a-support-ticket&p=439074#post439074

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated