Closed Trimasel closed 2 years ago
Dear @Trimasel,
Thank you for reporting this. I have examined this code and I think that function downloadDocumentToPath
is a nice candidate for public function. It has clear input parameters, nice exception in the case of non-existing document or missing path.
I will make one short release where I will implement this (alternative 1).
Cheers, Milan
I published a minor release for this https://github.com/eversign/eversign-php-sdk/releases/tag/v1.24.4
No possibility to download specific final PDF file in sdk, however functional exist in API
document_id
parameter is usable to get specific file inside https://api.eversign.com/api/download_final_document https://eversign.com/api/documentation/methods#download-final-pdfSolution I would like to see, change inside \Eversign\Client::downloadFinalDocumentToPath method
Possible alternatives Change method
\Eversign\Client::downloadDocumentToPath
to public or add different public method that would work with specific file idAdditional information Additionally could be added the same functional for raw files method
\Eversign\Client::downloadRawDocumentToPath
due to it also exist in api https://eversign.com/api/documentation/methods#download-original-pdf