• Resolved aviaggarwal

    (@aviaggarwal)


    I am getting issue that the download permission of order get removed after some time. I have set the download limit to “unlimited” and expiry to “never”. But still orders after a few days looses download permission. And this is also not consistent, some of the order before (say 5 days) still have download permission and some don’t have. Please help me!!!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @aviaggarwal

    Have you made any recent change to the site prior to this problem? Maybe a plugin or theme addition?

    Please also send us a screenshot of the product settings so we can further check. I recommend https://snipboard.io for sharing screenshots – please follow the instructions on the page, then paste the URL in this chat.

    I’d also like to better understand your site. Could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your response.

    Thread Starter aviaggarwal

    (@aviaggarwal)

    I have done only CSS changes in the theme and no changes in the functions or the plugins have been made since I am facing this issue.

    Here is the screenshot of one of my products:
    https://snipboard.io/rqfKOg.jpg

    Can you please share some email ID where I can send you the System Status report?

    Hi @aviaggarwal

    Can you please share some email ID where I can send you the System Status report?

    As per the forum guidelines, it’s prohibited to share emails. If you prefer not to share the full System Status, feel free to hide your store URL and/or any sensitive information.

    Additionally, I’d also recommend running a conflict test to check if the issue is coming from a conflict with your theme or another plugin – please temporarily switch your theme back to Storefront and disable all plugins except for WooCommerce. If that resolves the issue, then re-enable plugins one-by-one until you find the one that’s causing the conflict.

    If you don’t want to test on your live site, you can create a staging site using a plugin called?WP Staging: https://www.ads-software.com/plugins/wp-staging/

    You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Thread Starter aviaggarwal

    (@aviaggarwal)

    Can you suggest me how can I add download permission programmatically for an order? I have a button which triggers a function to download the file. I can easily add a code which by default re-generates the permission to download the product every time the button is clicked.

    Plugin Support Sarah G. a11n

    (@sg9928)

    HI @aviaggarwal ,

    Can you suggest me how can I add download permission programmatically for an order? I have a button which triggers a function to download the file. I can easily add a code which by default re-generates the permission to download the product every time the button is clicked.

    Thanks for adding that additional information; you are free to add the code if you’d like but without your system status it’s hard for us to understand your site settings and what might be causing your customers to lose download permissions after a few short days and whether or not a code snippet is necessary or not!

    As @maykato mentioned, if you prefer to share your system status with us without the site URL or any other sensitive information, please feel free to delete the parts you don’t want to post on the forum. You can find your system status by going to WooCommerce–>Status–>Get System Status–>Copy Status for Support.

    The above step is important for us in regards to troubleshooting since, after looking at your product settings, it does seem like you are using a plugin that allows users to use credits to pay for orders. This isn’t something that is built into WooCommerce Core and it could potentially be one of the reasons that the download permissions keep expiring for your customers (if you have the download set to unlimited and no expiry, the expected behaviour is that those links don’t expire).

    Additionally, this could also be connected to a setting on the file itself. Sometimes, cloud-sharing systems (ex: Google Drive or Dropbox) have configuration options that allow you to limit the amount of time that someone has access to a file; it might be worth it to take a look at those settings where you host the file and ensure that they are set properly as well.

    Alternatively, as @maykato mentioned in the previous response, you can also perform a conflict test to see if one of the plugins you have installed might be the cause of your downloads expiring.

    Additionally, I’d also recommend running a conflict test to check if the issue is coming from a conflict with your theme or another plugin – please temporarily switch your theme back to Storefront and disable all plugins except for WooCommerce. If that resolves the issue, then re-enable plugins one-by-one until you find the one that’s causing the conflict.

    If you don’t want to test on your live site, you can create a staging site using a plugin called WP Staging: https://www.ads-software.com/plugins/wp-staging/

    You can find a more detailed explanation on how to do a conflict test here: https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    I hope that helps! Let us know how that goes and if we can help further.

    Best,
    Sarah G.
    Happiness Engineer–WooCommerce.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Download permissions gets removed’ is closed to new replies.