Hi nareshishere,
There're many ways, either to use webhook or actively polling, to know the signing status of a signer.
(1) Using a callback listener:
When some certain events occur, for example, when a signer has completed signing a transaction, OneSpan Sign creates an JSON object. This object contains all the relevant information, including the type of event and the data associated with that event. OneSpan Sign then sends the JSON object to the URL in your account’s callback notification settings via an HTTP POST request.
You can find code examples showcasing you on how to handle the callback from our Create a Callback Event Notification Listener guide.
(2)Using Javascript Notifier:
If you are embedding your signing ceremony in an iFrame, the child window will send a message to your parent window when some certain events occur (like "ESL:MESSAGE:SUCCESS:SIGNER_COMPLETE"). Check the example code from the JavaScript Event Notifier guide.
(3)Active Polling:
It is not recommended to actively polling the signing status in order to reduce the server cost. You can find the SDK function from this guide.
Duo
Duo LiangOneSpan Evangelism and Partner Integrations Developer
Reply to: Webhook
Thursday, January 16, 2020 at 01:05pmDuo Liang OneSpan Evangelism and Partner Integrations Developer