Support

Home Forums Event Espresso Premium How to print payment ticket in thank you page?

How to print payment ticket in thank you page?

Posted: May 27, 2019 at 8:13 am

Viewing 3 reply threads


KaiserRR

May 27, 2019 at 8:13 am

I have this site https://ddays.uido.it/partecipa/ and i want to print the payment of the ticket in thank you page.


Tony

  • Support Staff

May 27, 2019 at 9:24 am

Hi there,

My apologies but I’m not sure I understand what you are trying to output, can you add more details, please?

Or possibly a screenshot that shows what you are trying to do?

https://eventespresso.com/wiki/troubleshooting-checklist/#screenshots


KaiserRR

May 27, 2019 at 9:58 am

Hi Tony,
we installed ticketing addon in site. ticketing addon send email for print ticket from site. its simply redirect user to site page and from there user can print their ticket. we want to allow user to print ticket directly from thank you confirmation page. so instead of user go to specific print page. they able to print ticket from confirmation page.

here is print url
https://ddays.uido.it/?ee=ee-txn-tickets-approved-url&token=1-f2379b01a626ee0efef478d4a2d72026

I want to show this ticket print option on thanks page.

Let me know if you need more detail


Tony

  • Support Staff

May 27, 2019 at 11:41 am

You can’t print directly from the thank you page and need to direct the user to the above page as the ticket is generated using a JS library only loaded on that page, the print button then calls the browser own print function.

You can, however, include the link above on the thank you page and an example of doing so can be found here:

https://gist.github.com/Pebblo/525890c30baa7e207e4f

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 3 reply threads

The support post ‘How to print payment ticket in thank you page?’ 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