WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. useStrict
    Member
    Posted 1 year 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!

    Vinny

    http://wordpress.org/extend/plugins/eshop/

  2. esmi
    Forum Moderator
    Posted 1 year 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
    Moderator
    Plugin Author

    Posted 1 year 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
    Moderator
    Plugin Author

    Posted 1 year 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

Tags