[resolved] Deleting an order does not kill download credentials (4 posts)

  1. Vinny
    Posted 3 years ago #

    I have download-only products on my site, and when I delete the order (the user asked for a refund), his credentials are still accepted in the downloads page. I had to manually delete the row from eshop_download_orders table in order to kill the credentials.

    Is there a way to automatically block the credentials upon order deletion, or is this a bug? It would also be nice to have a status "Refunded" under the orders UI.

    Cheers, and keep up the good work!



  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Ideally you would want to set the number of download to zero for this particular customer/product to zero - which would stop him accessing the download. At this point we're not sure if we do this on an order deletion but we will have a look at it. We'll definitely look at adding a "Decrease" option to the number of download attempts available via the customer's order in the next update of eShop.

    It's not a bug per se but a scenario we simply hadn't considered before - hence the lack of proper functionality at present.

  3. elfin

    Plugin Author

    Posted 3 years ago #

    deleting an order from the system will delete the associated download data from the database in the next version.

    Decrease number of downloads will also be available.

  4. elfin

    Plugin Author

    Posted 3 years ago #

    the plugin has now been upgraded to include a decrease amount, as well as deleting the download data when the order is fully deleted.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic