Support

Home Forums Ticketing Add-on Add custom php code to the generated ticket

Add custom php code to the generated ticket

Posted: December 1, 2017 at 2:33 am

Viewing 1 reply thread


inside

December 1, 2017 at 2:33 am

Hi there
I am trying to create PDF ticket using mPDF library.
Is it possible?
Where the ticket is generated?

best regards

samih


Tony

  • Support Staff

December 1, 2017 at 3:29 am

Hi Samih,

Possible, sure, but it’s not going to be simple.

The barcodes shown on the ticket are generated using javascript library on your browser so you can’t generate those server-side without further modifications.

The tickets are generated using the messages system:

https://github.com/eventespresso/event-espresso-core/tree/master/docs/E–Messages-System

We can’t really provide support for adding your own code on the forums but if you open up an issue here:

https://github.com/eventespresso/event-espresso-core/issues

Label it a question and ask a provide details on what it is you are trying to do (you’ll need to be specific) one of our developers may be able to point you in the right direction.

Viewing 1 reply thread

The support post ‘Add custom php code to the generated ticket’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso