DocuSign 事件通知回调不起作用
DocuSign event notification Callback not working
我正在尝试将 URL 包含在我的 eventNotification 回调信封中,如下所示:
EventNotification eventNotification = new EventNotification();
try
{
eventNotification.Url = ConfigurationManager.AppSettings["DocusignCallbackURL"];
eventNotification.LoggingEnabled = "true";
eventNotification.RequireAcknowledgment = "true";
eventNotification.UseSoapInterface = "false";
eventNotification.IncludeCertificateWithSoap = "false";
eventNotification.SignMessageWithX509Cert = "false";
eventNotification.IncludeDocuments = "true";
eventNotification.IncludeEnvelopeVoidReason = "true";
eventNotification.IncludeTimeZone = "true";
eventNotification.IncludeSenderAccountAsCustomField = "true";
eventNotification.IncludeDocumentFields = "true";
eventNotification.IncludeCertificateOfCompletion = "true";
envDef.EventNotification = eventNotification;
}
catch(Exception ex)
{
log.Error(ex);
}
不幸的是,这似乎不起作用。我在我的应用程序日志中看不到任何内容,在 DocuSign 的日志中也看不到任何内容。还有其他必要的东西来完成这项工作吗?我的帐户中是否可能设置了从信封中取出 URL 的设置?
您没有告诉 DocuSign 您希望收到有关哪些事件的通知。
您需要指定至少一项您将收到通知的活动。有两组潜在的通知。 (如果你愿意,你可以同时使用这两套。)
查看元素 envelopeEvents
和 recipientEvents
另请注意,您的 url 必须以 https://
开头
我正在尝试将 URL 包含在我的 eventNotification 回调信封中,如下所示:
EventNotification eventNotification = new EventNotification();
try
{
eventNotification.Url = ConfigurationManager.AppSettings["DocusignCallbackURL"];
eventNotification.LoggingEnabled = "true";
eventNotification.RequireAcknowledgment = "true";
eventNotification.UseSoapInterface = "false";
eventNotification.IncludeCertificateWithSoap = "false";
eventNotification.SignMessageWithX509Cert = "false";
eventNotification.IncludeDocuments = "true";
eventNotification.IncludeEnvelopeVoidReason = "true";
eventNotification.IncludeTimeZone = "true";
eventNotification.IncludeSenderAccountAsCustomField = "true";
eventNotification.IncludeDocumentFields = "true";
eventNotification.IncludeCertificateOfCompletion = "true";
envDef.EventNotification = eventNotification;
}
catch(Exception ex)
{
log.Error(ex);
}
不幸的是,这似乎不起作用。我在我的应用程序日志中看不到任何内容,在 DocuSign 的日志中也看不到任何内容。还有其他必要的东西来完成这项工作吗?我的帐户中是否可能设置了从信封中取出 URL 的设置?
您没有告诉 DocuSign 您希望收到有关哪些事件的通知。
您需要指定至少一项您将收到通知的活动。有两组潜在的通知。 (如果你愿意,你可以同时使用这两套。)
查看元素 envelopeEvents
和 recipientEvents
另请注意,您的 url 必须以 https://