cpa2client

DOCUMENT_SIGNED push notification

0 votes
Hi See Attachment Here's the DOCUMENT_SIGNED push notification, I can't associate the sessionUser to either signer in the Package object returned from the SDK. (see the screen shot below, I have the signer Ids boxed in red) Is this a known bug with the push notification? Can this be fixed? Thanks. { "@class":"com.silanis.esl.packages.event.ESLProcessEvent", "name":"DOCUMENT_SIGNED", "sessionUser":"8b2dc93e-9131-4714-b6f9-4fd59d7202dc", "packageId":"v3a06oosN2n8kA3uhWiH0WQkmqE=", "message":null, "documentId":"261323", "createdDate":"2018-03-04T17:30:22.740Z" }

Attachments

Reply to: DOCUMENT_SIGNED push notification

0 votes
Hi there, The SDKs return only the role id and not the signer id (one level down). To better understand this, you can grab the package JSON through postman for example and look for "8b2dc93e-9131-4714-b6f9-4fd59d7202dc". To get around this, you can assign custom ids to your signers. This will set both the role and signer id to be the same and consequently the sessionUser as well.
Haris Haidary OneSpan Technical Consultant

Reply to: DOCUMENT_SIGNED push notification

0 votes
Doesn't make sense, sounds like the SDK and/or the PushNotification has a bug. Why would the Push message's "sessionUser" value NOT map into anything in the package returned from the SDK? (both are included below) Don't think we can work around this. In our work flow, the package creator is adding signers on the fly in the wizard - and each signer could be a one and done where adding a RoleID or CustomID does not make sense for us. PN MESSAGE OBJECT: {"@class":"com.silanis.esl.packages.event.ESLProcessEvent","name":"DOCUMENT_SIGNED","sessionUser":"8b2dc93e-9131-4714-b6f9-4fd59d7202dc","packageId":"v3a06oosN2n8kA3uhWiH0WQkmqE=","message":null,"documentId":"261323","createdDate":"2018-03-04T17:30:22.740Z"} PACKAGE OBJECT: { "Id": { "id": "v3a06oosN2n8kA3uhWiH0WQkmqE=" }, "Status": {}, "Name": "_Joe CPA Firm (demo site), LLC Esign for Mexican Style Beef.pdf", "Autocomplete": true, "Signers": [ { "Id": "G1NaAlnXPH4X", "PlaceholderName": null, "GroupId": null, "KnowledgeBasedAuthentication": null, "Email": "[email protected]", "FirstName": "Initiate", "LastName": "ICFiles eSign", "Title": null, "Company": "_Joe CPA Firm (demo site), LLC", "Language": "en", "CanChangeSigner": false, "Authentication": { "Method": {}, "Challenges": [], "PhoneNumber": null }, "AuthenticationMethod": {}, "ChallengeQuestion": [], "PhoneNumber": null, "DeliverSignedDocumentsByEmail": true, "SigningOrder": 0, "Message": "", "Locked": false, "Attachments": [] }, { "Id": "ba63128c-16aa-4555-a953-51724a3b235f", "PlaceholderName": null, "GroupId": null, "KnowledgeBasedAuthentication": null, "Email": "[email protected]", "FirstName": "adf", "LastName": "ASDFAF", "Title": "", "Company": "", "Language": "en", "CanChangeSigner": false, "Authentication": { "Method": {}, "Challenges": [], "PhoneNumber": null }, "AuthenticationMethod": {}, "ChallengeQuestion": [], "PhoneNumber": null, "DeliverSignedDocumentsByEmail": false, "SigningOrder": 0, "Message": "", "Locked": false, "Attachments": [] } ], "Placeholders": [], "Documents": [ { "Name": "Electronic Disclosures and Signatures Consent", "Id": "default-consent", "FileName": null, "Content": null, "Index": 0, "NumberOfPages": 2, "Extract": false, "Tagged": false, "ExtractionTypes": [], "Description": "Must be accepted and agreed to before starting the signing process.", "Data": { "ese_document_texttag_extract_needed": "false" }, "Signatures": [ { "GroupId": null, "SignerEmail": "[email protected]", "RoleId": null, "Accepted": "2018-03-04T17:30:15Z", "Page": 0, "X": 0.0, "Y": 0.0, "Height": 0.0, "Width": 0.0, "Style": {}, "Fields": [], "Id": { "Id": "4452eb00-1532-49cf-b824-3b23a0d3df0e" }, "Name": null, "Extract": false, "TextAnchor": null } ], "External": null, "Fields": [], "QRCodes": [] }, { "Name": "Mexican Style Beef", "Id": "261323", "FileName": null, "Content": null, "Index": 1, "NumberOfPages": 1, "Extract": false, "Tagged": false, "ExtractionTypes": [], "Description": "", "Data": { "ese_document_texttag_extract_needed": "false" }, "Signatures": [ { "GroupId": null, "SignerEmail": "[email protected]", "RoleId": null, "Accepted": "2018-03-04T17:30:21Z", "Page": 0, "X": 153.0, "Y": 33.0, "Height": 40.0, "Width": 200.0, "Style": {}, "Fields": [], "Id": { "Id": "vrKeNPRuhjwQ" }, "Name": null, "Extract": false, "TextAnchor": null } ], "External": null, "Fields": [], "QRCodes": [] } ], "Description": "", "Language": "en", "ExpiryDate": null, "UpdatedDate": "2018-03-04T17:30:22Z", "CreatedDate": "2018-03-04T17:27:10Z", "EmailMessage": "", "Settings": { "ShowLanguageDropDown": true, "EnableFirstAffidavit": true, "EnableSecondAffidavit": true, "ShowOwnerInPersonDropDown": true, "EnableInPerson": false, "EnableOptOut": true, "DisableOptOutOther": false, "EnableDecline": true, "DisableDeclineOther": false, "HideWatermark": false, "HideCaptureText": false, "Ada": false, "DeclineReasons": [], "OptOutReasons": [], "MaxAuthAttempts": 3, "ShowDownloadButton": null, "ShowDialogOnComplete": true, "LinkText": null, "LinkTooltip": null, "LinkHref": null, "CeremonyLayoutSettings": { "IFrame": false, "BreadCrumbs": true, "SessionBar": true, "GlobalNavigation": true, "ShowGlobalSaveAsLayoutButton": true, "ShowGlobalDownloadButton": true, "ShowGlobalConfirmButton": true, "ProgressBar": true, "ShowTitle": true, "Navigator": true, "LogoImageSource": null, "LogoImageLink": null } }, "SenderInfo": { "Email": "[email protected]", "FirstName": "Initiate", "LastName": "ICFiles eSign", "Company": "_Joe CPA Firm (demo site), LLC", "Title": null }, "Attributes": { "contents": { "sdk": ".NET v11.9", "origin": "api", "currentSignerProgress": { "documentsToConfirmCount": "0", "documentsConfirmedCount": "0", "approvalsToConfirmCount": "0", "approvalsConfirmedCount": "0", "documentsPartiallyCompletedCount": "0", "approvalsToSignNowCount": "0" }, "overallProgress": { "documentsToCompleteCount": "2", "documentsCompletedCount": "2", "documentsToConfirmCount": "2", "documentsConfirmedCount": "2", "documentsPartiallyCompletedCount": "0" } } }, "Messages": [], "Notarized": false, "Trashed": false, "Visibility": {} }

Reply to: DOCUMENT_SIGNED push notification

0 votes
Hi there, There is already an enhancement request for the callbacks to return the role id instead of the signer id. It currently stands as a candidate. I will update you when it goes on the roadmap. Having said this, most of the time clients tend to go on a fully integrated scenario or do everything through the web portal. It is very uncommon to mix both. In a fully integrated solution, setting up custom ids makes it easier for data retrieval. In your case, the only workaround would be to use the REST API and retrieve the package json to figure out who the sessionUser is. Hope this helps.
Haris Haidary OneSpan Technical Consultant

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