peterzog

iframe - event notification

0 votes

First, my apologies if this is the incorrect forum group for this topic. Happy to move it to a different forum if there is a better one.

I am looking for documentation on all the type of events that would be sent to the DOM from an iframed signing ceremony. Specifically we are wondering about an event that would help us trigger the closing of an iframe upon completion of the signing.  

Reference: https://www.onespan.com/blog/onespan-sign-developer-session-expiry-iframe


Reply to: iframe - event notification

0 votes

Hi Peter,

 

It's very nice to hear from you! I moved the topic under the general questions section and it might take some time to propagate the update.

The Using JavaScript Event Notifiers guide lists all the available events. In particular, below two events might interest you:

ESL:MESSAGE:SUCCESS:SIGNER_COMPLETE
ESL:MESSAGE:SUCCESS:SIGNER_COMPLETE_REVIEWED

What's different is SIGNER_COMPLETE will only triggered once upon user finished signing, and SIGNER_COMPLETE_REVIEWED can be triggered multiple times whenever signer clicked "FINISH" button and the page was redirected to the thank you page.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: iframe - event notification

0 votes

Very helpful as always.  One question, we are using signing ceremonies with multiple forms. What event can we listen for that indicates the user is 100% done signing all forms so that we do not close the iframe too early?


Reply to: iframe - event notification

0 votes

Hi Peter,

 

Generally speaking, SIGNER_COMPLETE will do the work. But one exceptional scenario is, for example, when you have 4 documents with signatures and the fifth document is reviewed-only, SIGNER_COMPLETE will be triggered as long as signer completed the first 4 documents, which might cause "close the iframe too early" without having signer to review the fifth document.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off