I am testing event espresso to build a mobile app via wordpress. In testing, the “View Order Confirmation Receipt PDF” button displayed after completed registration is not displaying accurately. I would like the link to automatically load the PDF version of the Receipt when clicked, is there any way to have the pdf download made available immediately instead of as an option after?
You can alter the template used on the thank you page to output a link to directly download the PDF rather then display it.
The template uses the method receipt_url() to generate the link from the current transaction, you can pass the messenger type to that method, for example receipt_url('pdf') will generate a link that when clicked will download the PDF.
That doesn’t look correct. Something like this instead:
<?php echo $transaction->receipt_url( 'pdf' );?>
Viewing 3 reply threads
The support post ‘Full order confirmation receipt pdf’ 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.
Considering Event Espresso for a new project? Tell us more through our contact page.