Hello,
I use the groudocs signature in php : https://github.com/groupdocs/groupdocs-php
we met some problems :
1. We have a document (ppt,doc,xls) to make signature , the output is automaticaly in pdf (default option), but we can to recover the orginal document extension with signature (like ppt,doc,xls according the input). is it possible? and how to make that?
2. On the multiple signature, in the sample code 44 php, there are two person who can make a signature but we need three person to do the signature.
we tried to do this code :
…
$addThreeRecipient = $signature->AddSignatureEnvelopeRecipient($clientId, $envelop->result->envelope->id, $secondEmail, $ThirdName, $lastName . “2”, $roleId, null);
…
it does not work
how to make that?
Best regards.
Hello,
Hello,
About groupdocs tools, Is-it possible to have the same file type like in input ?
Eg: If, we have a xls file in input => we will have a xls file with signature in output.
Hello,
Hello,
Thanks you for your response, concerning the multiple signature,
we tried this code :
$addRecipient =
$signature->AddSignatureEnvelopeRecipient($clientId,
$envelop->result->envelope->id, $mail1, $name1,
$lastName1, $roleId, null);
// Statut = ok
if($addRecipient->status == “OK”)
{
$addSecondRecipient =
$signature->AddSignatureEnvelopeRecipient($clientId, $envelop->result->envelope->id, $mail2, $name2,
$lastName2, $roleId, null);
// Statut = ok
if($addSecondRecipient->status == “OK”)
{
$addThreeRecipient =
$signature->AddSignatureEnvelopeRecipient($clientId,
$envelop->result->envelope->id, $mail3, $name3,
$lastName3, $roleId, null);
// Statut = Failed
if($addThreeRecipient ->status == “OK”)
{
…
}
}
}
********************
Here, the return obtained after debugging :
SignatureEnvelopeRecipientResponse Object
(
[result] => SignatureEnvelopeRecipientResult Object
(
[envelopeId] => 5c40579cfc86795c922e5b80c83a037
[recipient] => SignatureEnvelopeRecipientInfo Object
(
[id] => 80c1c114eac4a2ac44ce3e7cc6a6b9c
[firstName] => sera
[lastName] => sera
[email] => seraphin_prog_info@yahoo.fr
[userGuid] => 15814ab95f5cdb5
[order] => 0
[roleId] => 2
[status] => 0
[statusMessage] =>
[statusDateTime] =>
[delegatedRecipientId] => 0
[signatureFingerprint] =>
[signatureHost] =>
[signatureLocation] =>
[signatureBrowser] =>
[embedUrl] =>
[comment] =>
)) [status] => Ok [error_message] => [composedOn] => 1449198853542
)
SignatureEnvelopeRecipientResponse Object
(
[result] => SignatureEnvelopeRecipientResult Object
(
[envelopeId] => 5c40579cfc86795c922e5b80c83a037
[recipient] => SignatureEnvelopeRecipientInfo Object
(
[id] => f9aa648f28845309925d63218867287
[firstName] => seraphin1
[lastName] => seraphin2
[email] => seraphin.prog.info@gmail.com
[userGuid] => 4afb43bfdbd58bc
[order] => 0
[roleId] => 2
[status] => 0
[statusMessage] =>
[statusDateTime] =>
[delegatedRecipientId] => 0
[signatureFingerprint] =>
[signatureHost] =>
[signatureLocation] =>
[signatureBrowser] =>
[embedUrl] =>
[comment] =>
)) [status] => Ok [error_message] => [composedOn] => 1449198855866
)
SignatureEnvelopeRecipientResponse Object
(
[result] => SignatureEnvelopeRecipientResult Object
(
[envelopeId] =>
[recipient] =>
)[status] => <b>Failed</b> [error_message] => Duplicated recipient [composedOn] => 1449198858268
)
Do you have a solution please?
Best regards
Hello,