Closed Eugentis closed 3 years ago
Hi! I am just starting to work with your lib and need some help in first steps.
I need to have template for sending to defined in code recipients with prefilled data.
I have template with fullName field and one sign field
In code I am creating new envelope. Code example is:
$envelopeDefinition = new \DocuSign\eSign\Model\EnvelopeDefinition( [ 'status' => 'sent', 'template_id' => $templateId, ] ); $signer = new \DocuSign\eSign\Model\TemplateRole( [ 'email' => $email, 'name' => $name, 'role_name' => 'signer', 'client_user_id' => 1000, 'tabs' => new \DocuSign\eSign\Model\Tabs( [ 'sign_here_tabs' => [ new \DocuSign\eSign\Model\SignHere(['tab_label' => 'sign']) ] ] ) ] ); $envelopeDefinition->setTemplateRoles([$signer]); $envelopeApi = new \DocuSign\eSign\Api\EnvelopesApi($authService->getAuthorizedApiClient()); $envelopeApi->createEnvelope($accountId, $envelopeDefinition);
Envelope was created and it is displayed in manage tab in DocusignUI:
In history there are only register event listed. I can't see any sending invitations event
Could you explain what's wrong with my code?
One more moment - email was not received
Published at stack overflow https://stackoverflow.com/questions/67369044/need-help-prepared-envelope-registered-but-not-sent-to-email
Hi! I am just starting to work with your lib and need some help in first steps.
I need to have template for sending to defined in code recipients with prefilled data.
I have template with fullName field and one sign field![image](https://user-images.githubusercontent.com/17436084/116869661-2b48f800-ac22-11eb-82b7-ba0aa00cfd88.png)
In code I am creating new envelope. Code example is:
Envelope was created and it is displayed in manage tab in DocusignUI:![image](https://user-images.githubusercontent.com/17436084/116870365-83342e80-ac23-11eb-9318-730678d1722d.png)
In history there are only register event listed. I can't see any sending invitations event![image](https://user-images.githubusercontent.com/17436084/116870258-436d4700-ac23-11eb-8589-a9fad12b6627.png)
Could you explain what's wrong with my code?