darrunategui

Declining a document does not update signing status

0 votes
Hi, I've come across a situation where a signers signing status for a particular document does not get updated when the document is declined. It can be reproduced as follows: 1. Create a package with 1 document and 1 signer. 2. Enter the signing ceremony and decline the document. 3. This puts the package into the DECLINED status 4. The signer that declined is still in the SIGNING_PENDING status (This is the bug) The following code displays how I'm retrieving the signing status for both the package and the individual signer for a document. Please let me know if this is a bug or if I'm doing something wrong. I am using the .NET SDK 11.8. Thanks. -David
static void Main(string[] args)
        {
            Console.WriteLine(nameof(DocumentPackageStatus.DECLINED));
            WritePackageSignerStatuses(eslClient.PackageService.GetPackages(DocumentPackageStatus.DECLINED, new PageRequest(1, 10)));
        }

        private static void WritePackageSignerStatuses(IEnumerable packages)
        {
            foreach (var package in packages)
            {
                var packageStatus = eslClient.GetSigningStatus(package.Id, null, null);
                Console.WriteLine($"Package {package.Id} is {packageStatus}");
                foreach (var document in package.Documents)
                {
                    Console.WriteLine($"\tDocument {document.Name}");
                    foreach (var signature in document.Signatures)
                    {
                        var signatureStatus = eslClient.GetSigningStatus(package.Id, package.Signers.First(x => x.Email == signature.SignerEmail).Id, document.Id);
                        Console.WriteLine($"\t\t{signature.SignerEmail} is {signatureStatus}");
                    }
                }
                Console.WriteLine();
            }
        }

Reply to: Declining a document does not update signing status

0 votes
Hi David, I'm run some tests and it is indeed a bug. Our maintenance team is aware of this issue and we're looking to fix this asap. I'll keep you posted for any updates. Sorry for the inconvenience.
Haris Haidary OneSpan Technical Consultant

Reply to: Declining a document does not update signing status

0 votes
Hi there, We've pushed a fix on sandbox and production. Can you run a test on your end to check that everything is working correctly? Thanks,
Haris Haidary OneSpan Technical Consultant

Reply to: Declining a document does not update signing status

0 votes
Hi Haris, I just tried testing this and it still appears to be an issue in my environment. The individual signer status still remains in SIGNING_PENDING even after they have declined to sign. When you push a fix, what environments does it go to? My company has accounts using the following environments: https://sandbox.esignlive.com/api https://apps.e-signlive.ca/api

Reply to: Declining a document does not update signing status

0 votes
Is there any update here?

Reply to: Declining a document does not update signing status

0 votes
Hi, I'm not able to reproduce the issue on my end. Can you please provide a package id for which you are getting the incorrect signing status? Thanks,
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