-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docusign Focused is rendering an invisible iframe which makes complete app unusable #280
Comments
Hello Felix. My name is Guilherme and I'm a member of the DEV/API Support Team. When there's no tab/fields for a recipient, it becomes a click to agree experience. That is by design. Basically, when the "Agree" button is clicked, it finishes the signing session. You couldn't be able to click on that button more than once. The document (PDF) should be loaded along with the "Agree" button. If the document isn't opening, the recommendation is checking if it loads properly by adding tabs/fields to it, as the problem could be related to the document preview rather than the Focused View's iframes. Regarding the "invisible iframe", does that block you from clicking on the "Agree" button? Or are you still able to click on it? If the button can be clicked even though you have that error in the invisible iframe, check in the Network tab in Developer Tools if you have ending/finishing info about the request. |
hey Guilherme, thank you for your quick reply. The PDF is loading with the Agree-Button, and I can click it. After clicking it the invisible frame is rendered. |
Hey Felix, so that would be all. The "Agree" button is basically informing the recipient about the document and clicking on it, it finishes the session and your application should treat it with event handlers, like :
As soon as the "Agree" button is clicked, the session is ended and it means the recipient accepted/acknowledged the envelope. The Focused View will try to redirect the signer to the 'returnUrl' page but you need to send the user to a new page using the sessionEnd before the iframe redirection attempt. |
Hey, "The Focused View will try to redirect the signer to the 'returnUrl' page but you need to send the user to a new page using the sessionEnd before the iframe redirection attempt." |
To narrow it down:
|
Good morning, Felix. I'm still investigating what would be causing the behavior for the invisible iframe with the error. About the 'sessionEnd' not being called, I couldn't reproduce that. It is always being called using the "Agree" button. Would you be able to perform small test on your side?
Could you please comment your current code on the 'sessionEnd' section and use the above one? Basically, it will just pop-up an alert modal on the browser after the 'Agree' button is clicked. In the meantime, I'll be checking internally what could be causing the invisible iframe. Kind regards, |
hey I already have that in place with
Did you test your version with |
Hey Felix, Yes, I tested with My test code looks similar, besides I'm not using
|
Hey Felix, I was talking to the product team and they mentioned some bugs that were not fixed yet.
The product team would like to know if you can test their example which is located in https://github.com/docusign/docusign.github.io/blob/master/app-examples/embedded-signing/click2agree.js They also have the code live in https://docusign.github.io/app-examples/embedded-signing/ which is basically using the 'app-examples' code. The only difference between our codes and yours, is the The 1st bug can only be reproduced with the session times out. I'm not sure if that is happening on your side, like, instead of having a 'sessionEnd' it is returning timing out event. The 2nd bug would only happen if the 'sessionEnd' is being returned successfully. In your case, you mentioned it is not returning any data in Kind regards, |
hey, This: |
@GuilhermeFloresDocuSign would it be possible to schedule a short call with one of your devs? |
@felixhagspiel Yes, I can send a Zoom link. I'm located in Brazil. Would one of your devs be online around 11 AM BRT time? That would be 3 PM London time. |
@GuilhermeFloresDocuSign yes, I am available. please send an invite to [email protected] |
@felixhagspiel Thank you for your time today! Can you share the EnvelopeID that we used today during our tests? In case you cannot find it, send a new envelope with no tabs and grab its ID. I'll be contacting the product team in the mean time. Kind regards, |
@GuilhermeFloresDocuSign 73ae80cd-5929-414b-9e7f-e0085f0ee202 (its a new one) |
@felixhagspiel We were able to finally reproduce the issue. The root cause is the Signer type, which your app is using the "Certified Delivery" signer type (https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/recipients/). We tested and we got the same exception. To fix it on your end you need to change from Certified Delivery to "Signer" and that should fix the errors you are seeing. We are confirming with the product team if we have that information public somewhere and in case we don't have, we will ask to update our documentations and mention that the signer type must be "Signer", otherwise, the "Click2Agree" feature will not behave correctly. Kind regards, |
Hi there, Can you confirm that the focused view is working for Signers only, and the other roles are not working for now? Best regards, |
The test that we've done was using the "signer" type and we didn't send any fields for signature. Here's an example:
Basically, you add a "tabs" object but you don't include/assign any tabs for the signer. It is a bit different to way it is working right now because Felix showed that your application is calling the "SenderView" before sending it. Using the above method, you send it directly without creating the "SenderView", so your application would just need to pull the documents to include in the body of the request and no needing to call "SenderView". When the recipient opens it, it will provide the same "Click to Agree" behavior and no fields for signature. Just the same way it is happening right now for you, but of course without that problem where the "signing.on( )" isn't being executed.
I'm still waiting the feedback from the product team. We got the same exception in the background using that signer type (certified delivery). If it's a bug, we will raise a bug ticket to the product team. If it is expected to work that way, we will ask our technical writers to include that in our documentations. |
I got the feedback. According to the development team, the Focused View was not intended for Certified Delivery recipient type. I created an enhancement ticket so they could investigate further, but at this moment, the Focused View using click to agree experience will not work with Certified Delivery recipient type. About the ticket, I cannot provide any ETA, but the owner of the DocuSign Account can contact the Account Executive of the account and ask what's the status of C2A-3508 (or open a support ticket to check the status). Kind regards, |
Hi Guilherme, |
hey all,
This is more related to the docusign focused view javascript bundle, but I havent found a dedicated repository for that.
Reproduction:
Latest Chrome Browser on Mac OS Sonoma 14.5
The text was updated successfully, but these errors were encountered: