• Resolved giriprasad3214

    (@giriprasad3214)


    Hi,
    After the 4.0 Woocommerce update, I am receiving the following:

    Your store is configured to serve digital products using “Redirect only” method. This method is deprecated, please switch to a different method instead.

    I cannot use the other options like FOrce Download, since I have all the files in Google Drive.

    Is there an alternative to provide External links to my customers.

    Thanks in advance.

    Regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • +1

    I’m also using the deprecated method, and it works perfect for redirecting to Google Drive. Please add a alternative.

    Plugin Contributor Peter Fabian

    (@peterfabian1000)

    Hi all,

    the redirect method is still going to be used when files are hosted on 3rd party services, the redirect is only being deprecated when files are hosted on the same server.
    Apologies that the notice made things confusing. We’ll update it in the next release.

    Thread Starter giriprasad3214

    (@giriprasad3214)

    Thanks for clearing things up. @peterfabian1000

    @peterfabian1000 I’m just seeing this now because I just received the same message when upgrading. We host our files on Amazon S3. So what you’re saying is if we just ignore this and continue to use the now deprecated ‘Redirect only (Insecure)’ option with external files to S3, it will still work as needed? And I should simply dismiss that notice?

    The verbiage used for this could have been much better.

    “If you use a remote server for downloadable files (such as Google Drive, Dropbox, Amazon S3), the right method will automatically be used, so select any of the other options to make this notice go away.”

    Maybe include a link to a blog post that explains this change and that the redirect WILL still work it’s just the “Redirect ONLY” option will not be available.

    Hi – I use ‘redirect only’ for downloading 7gig files from DropBox. Switching to ‘Force Downloads’ causes the download to quite at 500 megs consistently. Where as switching back to ‘redirect only’ works perfectly. It is not automatically finding the right method for me.

    Thoughts on why the method is not working automatically?
    Robert5

    • This reply was modified 4 years, 3 months ago by robert5.

    We need ‘redirect only’ because we generate content and need the request to be a “direct connection” between the user and our script. The script performs all the security we need to prevent the URL from being abused. We make sure the user is currently logged into WooCommerce, they have an order that contains the product, that it hasn’t been refunded, we get extra attributes from the order to complete the generation of the download, etc.

    Please don’t remove the ‘redirect only’ as our particular download functionality requires it. We love WooCommerce but this would be fatal to our store!

    If you don’t plan to remove it, could you possibly change it from “deprecated” to something like “not secure/not recommended”. I know that technically “deprecated” means that it is discouraged but in the computer world it usually means that you can expect to have it removed soon! Or maybe leave it as “deprecated” and mention in the documentation that removal is not currently planned but it’s use is highly discouraged unless you know what you are doing because it circumvents the security that WooCommerce would normally provide for you.

    Thanks @peterfabian1000

    I, too, find it very confusing.
    Using Amazon S3 and hosted on Siteground, they use NGINX but don’t offer the X-Accel-Redirect/X-Sendfile feature.
    Thanks @peterfabian1000

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘External Redirect Deprecated’ is closed to new replies.