Support » Plugin: Easy Digital Downloads » Require Login to download

  • Resolved ZeroGravity

    (@zerogravity)


    I can see there is an option to require a login to purchase a download but this doesn’t enforce they need to be logged in to download.

    Is there an option for this?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi @zerogravity

    Please navigate to Plugin Settings > Misc > Checkout.

    You can see “Require Login” option at there. Kindly tick that box and save. Below that there is a “Show Register / Login Form?” option in case if you want to show them on checkout page.

    “Require Login” option must be tick to force the user for login while purchasing with EDD.

    Thanks @pratik-jain.

    I noticed that setting. It appears that does enforce creating a login to make a purchase but it doesn’t seem to enforce being logged in to download after the purchase has been made.

    I copied the download link to another browser where I wasn’t logged in and was still able to download the PDF document.

    Ideally, if someone copied the link and emailed it to someone else they would be required to login to download. Currently it doesn’t seem like this is possible.

    Hi @zerogravity

    It looks like there is some misunderstanding. Actually Plugin Settings > Misc > Checkout > Require Login option works while purchasing the product not while downloading the download (product) file.

    You can manage the file download settings from Plugin Settings > Misc > File Downloads

    You can manage “Download Link Expiration” time, “File Download Limit” and etc.

    Once the unique link is expired then user can not download it from that URL. They have to download it from their account.

    Thanks @pratik-jain. I saw all those options and have set them. Sadly it looks like there is no option to force someone to be logged in before downloading a file.

    If the “Download Link Expiration” time or the “File Download Limit” have not expired anyone who has the link can download the file.

    A feature request would be to force login to download a file when accessing by the link.
    1) Click on the link
    2) When the link opens in a browser if the user isn’t logged into the website show the login screen.
    3) after login file downloads. 🙂

    Thanks.

    Hi @zerogravity

    As I have said in my previous response, there is no option to achieve this.

    With “Download Link Expiration” time, link only will be available for that time. Once the time is expired then user can not download it via that link.

    As per your requirement you can do something link this,

    You want user must be logged in to download the file so you should have “My Account” page on your website where user can see his purchase history and etc.

    Downloads links are sent in a email which can be set from Plugin Settings > Emails > Purchase Receipt. Here you can set your mail content and remove the {download_list} tag so download link will not be sent with email.

    Instead of this you can add your site account link. So user must have to logged in to download the files.

    You can refer below screenshot for “My Account” reference,
    http://prntscr.com/p1mjhf

    ZeroGravity

    (@zerogravity)

    Thanks for the suggestions.

    I understand there is no option at the moment that is why I asked for it as a feature request in my previous post. 🙂

    Hi @zerogravity

    I hope you liked my suggestion.

    You can write your query for future enhancement here https://github.com/easydigitaldownloads/easy-digital-downloads/issues

    visnova

    (@visnova)

    Yeah this is crazy..I have been trying to figure out how to protect the already purchased in your account link for weeks…woocommerce even has this method of a user having to be logged in to download from a link in your account….why EDD doesn’t have this is beyond me considering they are meant to be the best plugin for downloads….I have had to abandon EDD after months of testing for this one reason…such a shame

    ZeroGravity

    (@zerogravity)

    I haven’t tested it yet but I was pointed to this code snippet.
    http://library.easydigitaldownloads.com/misc/require-login-to-download-files.html

    Plugin Author mordauk

    (@mordauk)

    Hi folks!

    The “Force Login” code snippet that @zerogravity mentioned above does indeed work and is our recommended solution right now.

    If anyone has any questions on how to apply that to your site or how it works, I’ll be more than happy to assist.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.