gurvinder

Delete a Package

0 votes
Hi There, According to the requirements we have, if a person doesn't completes the purchase by paying but has signed the documents, if that person comes back again after certain number of days, he needs to do the whole transaction again. So, for the eSignLive Package that a person has signed already, he needs to sign it again. For achieving this, can I delete the package using this (https://developer.esignlive.com/code-share/delete-package-example/) and create a whole new package again? Thanks, Gurvinder

Approved Answer

Reply to: Delete a Package

0 votes
Hi Gurvinder, Yes, you will need to use:
eslClient.getPackageService().deletePackage(packageId);
Note that your transaction will be permanently deleted. Therefore, you will not be able to recover at a later point. If for any reason you wish to recover your transaction, I suggest you move it to your trash folder instead:
eslClient.getPackageService().trash(packageId);
Haris Haidary OneSpan Technical Consultant

Reply to: Delete a Package

0 votes
Hi Haris, Thanks! Is there any limit on trash size? If yes, does it delete the old transactions automatically or do they need to be deleted manually? Regards, Gurvinder

Reply to: Delete a Package

0 votes
I don't believe there is any limit on the trash folder. I'll get back to you when I have confirmation of this.
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