我正在通过API审查DocuS传公证功能。但我只停留在一点上。
API返回一个异常"{"errorCode":"NOTARY_NOT_ALLOWED",“message”:“公证未启用”。}
.I正在使用开发人员帐户来测试上述功能(demo.docusign.net)。是否有其他设置来启用DocuSign公证?
private static EnvelopeDefinition MakeEnvelope(string signerEmail, string signerName, string signerClientId, string docPdf, string accountId)
{
byte[] buffer = System.IO.File.ReadAllBytes(docPdf);
EnvelopeDefinition envelopeDefinition = new EnvelopeDefinition();
envelopeDefinition.EmailSubject = "Please sign this document";
Document doc1 = new Document();
String doc1b64 = Convert.ToBase64String(buffer);
doc1.DocumentBase64 = doc1b64;
doc1.Name = "Lorem Ipsum";
doc1.FileExtension = "docx";
doc1.DocumentId = "3";
envelopeDefinition.Documents = new List<Document> { doc1 };
Signer signer1 = new Signer
{
Email = signerEmail,
Name = signerName,
ClientUserId = signerClientId,
RecipientId = "2",
NotaryId = "1",
RoutingOrder = "1"
};
NotaryRecipient notaryRecipient = new NotaryRecipient
{
Email = "xxx@xxx.com",
Name = "xxx",
RecipientId = "1",
RoutingOrder = "1",
Tabs = new Tabs
{
NotarySealTabs = new List<NotarySeal>() { new NotarySeal { XPosition = "50", YPosition = "150", DocumentId = "3", PageNumber = "1" } },
SignHereTabs = new List<SignHere>() { new SignHere { XPosition = "300", YPosition = "150", DocumentId = "3", PageNumber = "1" } }
},
UserId = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx",//accountId,
NotaryType = "remote"
};
Tabs signer1Tabs = new Tabs
{
SignHereTabs = new List<SignHere>() { new SignHere { XPosition = "150", YPosition = "150", DocumentId = "3", PageNumber = "1" } }
};
signer1.Tabs = signer1Tabs;
Recipients recipients = new Recipients
{
Signers = new List<Signer> { signer1 },
Notaries = new List<NotaryRecipient> { notaryRecipient }
};
envelopeDefinition.Recipients = recipients;
envelopeDefinition.Status = "sent";
return envelopeDefinition;
}我错过了什么吗?
我还在相应的账户中添加了公证

发布于 2021-06-11 03:58:41
密码有点错了。您需要这样做(请参阅主题的博客帖子 ):
var notaryHost = new NotaryHost
{
Name = "Nadia Notary",
Email = "nadianotary@domain.com",
DeliveryMethod = "email",
RecipientId = "2",
Tabs = new Tabs { NotarizeTabs = notarizeTabs }
};
// InPersonSigner is used here even if the signer doesn't sign in person
var inPersonSigner = new InPersonSigner
{
NotaryHost = notaryHost,
Name = "Eddie End User",
Email = "endusersigner@domain.com",
RecipientId = "1",
InPersonSigningType = "notary",
Tabs = new Tabs { SignHereTabs = signHereTabs }
};
var inPersonSigners = new List<InPersonSigner>();
inPersonSigners.Add(inPersonSigner);
var recipients = new Recipients{ InPersonSigners = inPersonSigners };PS
这可能是因为您正在尝试使用beta远程在线公证功能,而不是更成熟的eNotary,后者是eSign的一部分。如果这是你的意图,你可能无法做到这一点,因为这是一个封闭的测试版,还没有向每个人开放。
https://stackoverflow.com/questions/67927252
复制相似问题