1

When I send a one-off document to RightSignature via their API, I'm specifying a callback location in the XML document as specified in RightSignature's schema definition. I then get a signer-link value back from their API for the document. I display the HTML response from the signer-link URL in an iFrame on our website. When our user signs the document in this iFrame, which is rendering the responses from their website, I want their website to post to our callback location.

Can I do this with the RightSignature API and does it make sense?

So far, I'm only getting content in the iFrame that indicates that the signing was successful. The callback location does not seem to be getting called.

4

2 回答 2

0

我刚刚解决了。基本上,我做错了两件事,首先你必须进入 RightSignature Account 并将其设置为 CallBack url

帐户 > 设置 > 高级设置

但是 RS 无法向我们提及的事情是这个 url 不能是 localhost,但它应该是 https 我的意思是像你网站的 Live URL 一样

https://stagingmysite.azurewebsites.net/User/CallBackFunction

然后在您的 CallBack 中只写这两行,您将收到完整的 XML,其中包含 GUID 和文档状态。

byte[] data = Request.BinaryRead(Request.TotalBytes); 
string callBackXML = System.Text.Encoding.UTF8.GetString(data);
于 2017-02-08T06:28:49.087 回答
-1

我在 RightSignature 的 API 团队的帮助下找到了答案。我使用的是 callback_location,但我真正想要的是 redirect_location。他们的在线文档很难理解,也没有明确指出差异。经过大量的试验和错误,我得到了这个工作。

于 2015-11-10T09:55:16.073 回答