When using the jwt grant authentication, you need to consent to DocuSign agreements. It's a 1 time action you need to perform on each of your environments.
You need to consent for each specific signature configuration having a different integration key.
You need to call the URL /docusign/consent/default
or /docusign/consent/mySignature
if you've named your signature configuration mySignature
from your browser.
In local it would be http://localhost/docusign/consent/default
.
If you have only one signature without name:
<a href="{{ path('docusign_sign_default', {'path': 'path/to/document.pdf'}) }}">sign</a>
If you have a named signature:
<a href="{{ path('docusign_sign_SIGNATURENAME', {'path': 'path/to/document.pdf'}) }}">sign</a>
You can also override the default signer name/email:
<a href="{{ path('docusign_sign_SIGNATURENAME', {'path': 'path/to/document.pdf', 'signerName': 'John DOE', 'signerEmail': '[email protected]'}) }}">sign</a>
If you have a clickwrap signature:
{{ renderClickwrap('SIGNATURENAME') }}
Embedded signature
- You'll get redirected to DocuSign website.
- DocuSign will redirect you to
docusign_callback_default
route. - DocuSign will asynchronously send the result to
docusign_webhook_default
route.
Remote signature
- You'll get redirected to
docusign_callback_default
route. - DocuSign will asynchronously send the result to
docusign_webhook_default
route.
Clickwrap signature
- DocuSign will show an iframe to sign the document by a single click.
Next: Events