I have a store on 22.214.171.124 that consists of all downloadable products.
When someone purchases a downloadable item one of four scenarios happens:
1) They get the order email and the download link is completely missing
2) They get the order email and the link is present, but takes them to customer login page (we have disabled all customer account functionality on this site)
3) They get the order email and there are two download links for same product, one works and the other takes you to customer login page
4) They get the order email and have no issues downloading
I have done a little digging into the issue where they get redirected to the customer login page and have found out that in the downloadable_link_purchased_item table the status field is usually still set to pending instead of available in those cases so for whatever reason it's not getting updated to available.
I also have my System -> config -> catalog -> download product options set to pending to enable downloads so again, no reason why it shouldn't work.
If anyone has any hint of what's going on that'd be great. I have no idea why sometimes the status in that downloadable_link_purchased_item table would not be getting set to available instead of pending.