ymethot

Package: Trash vs DeletePackage

0 votes
I'm using the SDK to create a package that contains one document to be signed. I want to offer my customer the ability to 'Cancel' a package. Should I use the 'Trash' or the 'Delete Package' method? What are the differences?

Reply to: Package: Trash vs DeletePackage

0 votes
I would guess that trash would put the package in your trash folder and delete would delete it permanently. I'll take a closer look though. If that's indeed the case, which would you rather have? The ability to see canceled packages or have them completely gone?

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


Reply to: Package: Trash vs DeletePackage

0 votes
I did some testing and this is exactly it. The 'Trash()' method will send the package to the Trash, meaning this package can be restored. The 'DeletePackage' deletes the package, no restore possible. I will offer both options to my customer. Thanks

Reply to: Package: Trash vs DeletePackage

0 votes
Great! Thanks for updating the thread!

- Michael

Director, Partner and Developer Technologies, OneSpan

Facebook - Twitter - LinkedIn


Reply to: Package: Trash vs DeletePackage

0 votes
Hey, so which class did you find the DeletePackage method on? I'm looking for a way to delete packages permanently on the SDK and I haven't found anything.

Reply to: Package: Trash vs DeletePackage

1 votes
I used the 'DeletePackage' method found in the 'PackageService' class. Code sample in C#: client.PackageService.DeletePackage(id); Hope this help

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