getomefast

SignerChange in a transaction

0 votes
Hello, I'm trying to change a signer using .Net API's as below. The code runs perfectly but not sure if the change happened at eSignLive side or not.When the new signer try to access the document he gets an unexpected error. Can you confirm if this is the correct way to change the signer using .Net API's. PackageId packId = new PackageId(DBItem["Package_x0020_ID"].ToString()); eslClient.ChangePackageStatusToDraft(packId); Signer newSigner = SignerBuilder.NewSignerWithEmail(NewEmail1).WithCustomId(RO1").WithFirstName(FirstName).WithLastName(LastName).Build(); eslClient.PackageService.UpdateSigner(packId, newSigner ); eslClient.SendPackage(packId); Thanks,

Reply to: SignerChange in a transaction

0 votes
Hi there, Yes, the way you are updating your signer is correct. There're few places you'd notice when updating signer: 1. CustomId is same with old signer. 2.When building new Signer, you inject all information about the signer, otherwise the information not include in the new signer will get lost. But this is not related to your issue I guess. The attachment is the code I used to test the issue where #1. I created a package, #2. then updated "Signer1", changed its email, #3. finally resent the package. The whole process works well at my side. So you can have a try on my code to see whether it works for you. And if this still doesn't work, can you share the screenshot when you encountering error? Hope this could help! Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Attachments

Reply to: SignerChange in a transaction

0 votes
Hi there, Per our conversation, offline, the issue was not with the above code but because you were using a token created for the original signer. The solution to this being to generate a new signing URL / auth token, for the changed signer. Hope this could help! 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