vienthuong/shopware-php-sdk

Document download not possible

larsbo opened this issue · 0 comments

larsbo commented

Hi,
you cannot use the _action/document/$documentId/$deepLinkCode route to receive an order document as pdf file.
The reason is that the pdf content is parsed via json_decode() here:

$contents = self::handleResponse($response->getBody()->getContents(), $response->getHeaders());