This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// set recipient information | |
$recipientName = "[RECIPIENT_NAME]"; | |
$recipientEmail = "[RECIPIENT_EMAIL]"; | |
// configure the document we want signed | |
$documentFileName = "[PATH/TO/DOCUMENT.PDF]"; | |
$documentName = "TestFile.pdf"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// instantiate a RecipientViewRequest object | |
$recipient_view_request = new \DocuSign\eSign\Model\RecipientViewRequest(); | |
// set where the recipient is re-directed once they are done signing | |
$recipient_view_request->setReturnUrl("https://www.docusign.com/develcenter"); | |
// configure the embedded signer | |
$recipient_view_request->setUserName($recipientName); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Read a file from disk to use as a document | |
byte[] fileBytes = File.ReadAllBytes("[PATH/TO/DOCUMENT/TEST.PDF]"); | |
EnvelopeDefinition envDef = new EnvelopeDefinition(); | |
envDef.EmailSubject = "[DocuSign C# SDK] - Please sign this doc"; | |
// Add a document to the envelope | |
Document doc = new Document(); | |
doc.DocumentBase64 = System.Convert.ToBase64String(fileBytes); | |
doc.Name = "TestFile.pdf"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// set recipient information | |
$recipientName = "[RECIPIENT_NAME]"; | |
$recipientEmail = "[RECIPIENT_EMAIL]"; | |
// configure the document we want signed | |
$documentFileName = "[PATH/TO/DOCUMENT.PDF]"; | |
$documentName = "TestFile.pdf"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DocuSign API Quickstart - Embedded Signing | |
// | |
import java.io.IOException; | |
import java.io.File; | |
import java.net.MalformedURLException; | |
import java.util.Arrays; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DocuSign API Quickstart - Embedded Signing | |
// | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Diagnostics; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// | |
// DocuSign API Quickstart - Embedded Signing | |
// | |
// Download PHP client: https://github.com/docusign/DocuSign-PHP-Client | |
require_once './DocuSign-PHP-Client/src/DocuSign_Client.php'; | |
require_once './DocuSign-PHP-Client/src/service/DocuSign_RequestSignatureService.php'; | |
require_once './DocuSign-PHP-Client/src/service/DocuSign_ViewsService.php'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DocuSign API Quickstart - Request Signature | |
// | |
import java.io.IOException; | |
import java.io.File; | |
import java.net.MalformedURLException; | |
import java.util.Arrays; | |
import java.util.List; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// DocuSign API Quickstart - Embedded Signing | |
// | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Diagnostics; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// | |
// DocuSign API Quickstart - Request Signature | |
// | |
// Download PHP client: https://github.com/docusign/DocuSign-PHP-Client | |
require_once './DocuSign-PHP-Client/src/DocuSign_Client.php'; | |
require_once './DocuSign-PHP-Client/src/service/DocuSign_RequestSignatureService.php'; |