XeroAPI/xero-php-oauth2

Invoice PDF returning as corrupted PDF

dcapslock opened this issue · 1 comments

Version 2.14.1 (Latest)

Describe the bug
getInvoiceAsPDF return a 26 byte file. https://www.dropbox.com/s/f4vdcyl0y5796r1/Test.pdf?dl=0

PHP 8.1.8, fpm-fcgi

Any ideas?

OK. Turns out I was using 2.13 with a hack to get around the bug with deseriaisation of the file. All good. Thank you.