docusign / docusign-esign-php-client

The Official Docusign PHP Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.
https://www.docusign.com/devcenter
MIT License
196 stars 123 forks source link

Fields not visible for Signer #181

Closed tomjamon closed 1 year ago

tomjamon commented 1 year ago

Hi, i'm not sure i'm speaking at the right place but i have a small problem with the API. I call createRecipientView() to retrieve a sign URL for my clients and redirect them. Everything work fine except added fields on my template (drag&drop in the admin) but they're not visibles for my clients and i don't know why. I should miss something simple. Have you any ideas why ?

The role name is the same in DocuSign Administration and in the Signer informations.

$recipient_view_request = new \DocuSign\eSign\Model\RecipientViewRequest();
$recipient_view_request->setReturnUrl($this->returnUrl);
$recipient_view_request->setClientUserId($tab_arr['user_id']);
$recipient_view_request->setAuthenticationMethod("email");
$recipient_view_request->setUserName($tab_arr['name']);
$recipient_view_request->setEmail($tab_arr['email']);
$recipient_view_request->setRecipientId(1);
$signingView = $envelopeApi->createRecipientView($accountId, $envelopeId, $recipient_view_request);

Thanks, Tom.