Open smartinec opened 4 months ago
I should note that the DownloadPDF seems to be working in PHP 7.2, but not in PHP 8.3. It appears that the binary encoding of the file is lost.
Looks like curl is broken in PHP 8.3. This fixed it: $dataService->setClientName('guzzle');
$dataService->DownloadPDF($invoice) results in a corrupt PDF file. The files are 15KB and appear to be fine, but appear blank in Chrome/Safari and MacOS preview says the file is damaged and won't open. I can provide sample files privately. Here is first few and last few lines: