Posted: May 26, 2015 at 11:38 pm
|
We have used custom QR code from documentation https://eventespresso.com/wiki/custom-qr-codes-for-tickets/ but when we download invoice pdf or receipt its not showing QR code in PDF |
Hi Chris, Which message template have you included the code within? |
|
|
To Invoice and receipt.. there a option on top that Download PDF. when i am downloading that PDF its not showing QR code. please see below link. its showing like below. |
Thanks. Strange, its working for me – http://take.ms/zsUyQ Can you post up the full code you are using for the QR please? |
|
|
Below is code for custom QR code : |
|
i edited src to show you code |
|
src=http://chart.apis.google.com/chart?cht=qr&chs=200×200&chl=[PRIMARY_REGISTRANT_REGISTRATION_CODE]&chld=H|0 alt=”QR Code” |
Hmm, that code works fine for me. Can I take a quick look at the template? If so can you provide temporary log in details using this form please |
|
|
I just sent login details as your given url. also can you please check how i can attach PDF with invoice email? Thanks. |
I looks like something on the server is preventing the image from downloading. The link is correct and if you click on the QR link within the PDF you’ll be directed to a working image. If you enable WP_DEBUG are any errors thrown either on the HTML output of the Invoice or within the PDF itself?
Currently this isn’t something Event Espresso supports. The user will need to click the button to download the PDF from the link provided. |
|
|
sorry i didnt get you. you said QR code is working on your server in PDF. but images not showing in PDF. i also sent you FTP details so can you please check? or give me step by step instruction so i can setup. Thanks. |
Hi Chris, could you temporarily enable WordPress debugging by adding the macro in the link below towards the middle of your wp-config.php file? https://gist.github.com/lorenzocaum/848801a1173be464fbe7#file-gistfile1-php The wp-config.php file can be found in the WordPress root and you can login to your site using an SFTP or FTP client like FileZilla or Cyberduck. Once in place, try downloading the PDF again for one or more events. Then browse to this location using your SFTP / FTP client: /wp-content/debug.log Are there any errors appearing there? If so, please copy and paste them into a reply. Then turn off WP debugging by using this updated macro: https://gist.github.com/lorenzocaum/848801a1173be464fbe7#comment-1239850 — |
|
|
Hi , i just did above steps. i didnt found degub.log on this path. /wp-content/debug.log |
The Debug.log file should be created when any warning/errors are thrown on your site. However if Apache does not have write permissions you may need to manually create this yourself and assign it the correct permissions (666) Can you check with your host that you tmp directory has been set and your site has the correct permissions to use it please? DOMPDF which Event Espresso uses to create the PSF’s downloads the image to your temp directory (the location returned by sys_get_temp_dir() ) before including it within the PDF, if that isn’t set correctly, or your site doesn’t have the correct permissions for that directory the image will not load. |
|
|
Ok i checked permission and also created tmp folder. i didnt get any warning or any error on website. Apache writing permission is there already as its generating PDF. so may be issue is something different. can you please check from your side permissions as i gave you FTP accesss and admin details. Thanks |
|
can you please provide your skype id so it will be faster through chat. |
Hi Chris, Currently we do not provide Skype support. However if you prefer for us to troubleshoot this directly on your server you will need to purchase a priority support token.
I’m not sure I follow here? If Apache does not have write permissions on /wp-content/ it can not create the debug.log file for you, this is different from the PDF issue. |
|
The support post ‘QR code not showing in 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.