【问题标题】:DocuSign envelope Redirect URL to another DocuSign session is not workingDocuSign 信封重定向 URL 到另一个 DocuSign 会话不起作用
【发布时间】:2019-09-25 16:43:59
【问题描述】:

我们有这个实现,我们在 API 中创建了两个信封,并在第二个信封的 redict URI 的位置添加了第一个信封的 URI,它在 9 月 23 日之前工作正常,但是从一个信封到另一个信封的重定向停止工作.

下面是代码的解释:

 RecipientViewRequest financeManagerViewOptions = new RecipientViewRequest
            {
                ReturnUrl = returnViewURL,
                ClientUserId = "Finance12345",
                AuthenticationMethod = "none",
                UserName = FinanceManagerName,
                Email = FinanceManagerEmail
            };

            //this is the second envelope, and we used this envelope's URL as the returnURL of the second envelope
            financeManagerviewUrl = docusignAPI.CreateRecipientView(AccountId, result.EnvelopeId, financeManagerViewOptions);

            //here we are creating the second envelope and assigning the first envelope's URL to its returnURL
            RecipientViewRequest viewOptions = new RecipientViewRequest
            {
                ReturnUrl = financeManagerviewUrl.Url,
                ClientUserId = inspection.CustomerId.ToString(),
                AuthenticationMethod = "none",
                UserName = inspection.CustomerName,
                Email = inspection.CustomerEmail,
            };

            // url of second evelope that is supposed to be signed first
            viewUrl = docusignAPI.CreateRecipientView(AccountId, result.EnvelopeId, viewOptions);

现在奇怪的是,如果我们直接在浏览器中打开第一个信封 URL,它可以正常工作,它还会将我们重定向到正确的 URL,所以第一个信封的返回 URL 也可以正常工作。

但是当我们将第二个信封重定向到第一个信封的 URL 时,它会向我们显示这个错误,这对我们来说很奇怪:

同样,这在几天前工作正常,直接在浏览器中打开第一个信封的 URL 让我们进行签名,但返回 URL 中的相同 URL 不会打开新的签名会话,对此有任何帮助非常感谢。

【问题讨论】:

    标签: .net asp.net-core docusignapi asp.net-core-webapi


    【解决方案1】:

    托管令牌是我们对信封网址采取的一种新方法。 它使网址更长,这可能是您问题的根本原因。 我们将在本月为各种帐户启用此功能,这可能是您最近发生的事情。 如果 url 太长,您将不得不找出不同的集成方法。

    【讨论】:

    • 感谢您及时解决问题,我们为此编写了一个新的实现。您能否引导我进入一些门户网站,我们可以在其中随时了解 DocuSign 的变化?因为这是我们应用程序的关键业务部分,它的失败会破坏应用程序中一个非常重要的流程。
    • 如果你愿意,这是一次性的。不是经常发生的事情。门户是developers.docusign.com 和support.docusign.com(不同的焦点)。如果我能提供进一步帮助,请告诉我。
    • 感谢分享。感谢所有帮助。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多