• Resolved jtsn21

    (@jtsn21)


    Hi,

    The downloads in the download page doesn’t work but the downloads inside the order page works. I’m not sure what is the problem. The file method is set to ‘Force Downloads’ in the woocommerce settings.

    In this screenshot, under the Order detail page, the downloads are working
    https://prnt.sc/1dvisk1

    But if I go to the Downloads tab in the My Account sidebar, the downloads won’t work and will only redirect to the site’s base url plus some parameters (below)
    https://prnt.sc/1dvjz8x

    these are the parameters appended in the url
    ?download_file=6628&order=wc_order_0ldRRQ0L8biTC&email=jtest%40gmail.com&key=31280e92-6dcf-49da-b9a3-a1b5a69e1cd9

    I’d appreciate if you can help me with this. Thank you!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Abhi G. a11n

    (@theabhig)

    Hi @jtsn21

    Could you confirm which version of WooCommerce your site is using?

    We’re aware of an issue which has been affecting other sites since updating to WooCommerce 5.5.1 where downloadable files are not downloading using the ‘Force Downloads’ method.

    If you are using a different version of WooCommerce, please let us know which version you are on and when you noticed this first started to happen.

    I have included details about the recent issue below in case it is this.

    It is due to a change that was introduced a few versions before the 5.5.1 update, but many customers are seeing it now as they update the plugin.

    What is happening has to do with the download method set for digital products in your WooCommerce product settings (**WooCommerce > Settings > Products > Downloadable Products** in your site’s admin area).

    Previously, if your file download method was set to “X-accel-redirect” or “Force Download” and and this didn’t work, we would automatically use “Redirect Only” instead (the third option), but we’ve recently removed that functionality.

    To fix it, you can talk to your host about enabling this download method on your server, or you can switch to the Redirect Only download method in your settings, which is what was being used behind the scenes up until now anyway.

    You’ll notice that the Redirect Only method is labeled as “insecure.” To clarify, it’s insecure because it makes it so that anyone with the file URL for a download associated with a product can use that URL to access that file, even if they haven’t purchased the product that grants them access. The other methods do a better job of preventing this. This is different than a “security vulnerability” in the sense of the bug that 5.5.1 was fixing, but it’s still something to be aware of.

    You can read more about download methods here: https://docs.woocommerce.com/document/digital-downloadable-product-handling/

    We will be standing by for your response.

    Thread Starter jtsn21

    (@jtsn21)

    Yes indeed, I am using WooCommerce 5.5.1

    Thread Starter jtsn21

    (@jtsn21)

    Hi,

    Even if I set it to ‘Redirect Only method’, the downloads in the Downloads tab still redirects to the homepage plus some parameters.

    Plugin Support Abhi G. a11n

    (@theabhig)

    Hi @jtsn21

    Thanks for the additional information.

    Could you please share your current System Status Report?

    You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

    Plugin Support abwaita a11n

    (@abwaita)

    Hi,

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. Hopefully, you were able to find a solution to your problem!

    If you have further questions, please feel free to open a new topic.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Downloads in Download page doesn’t work’ is closed to new replies.