Magento – My Downloadable Products Error, The link is not available

downloadablelinkmagento2.3

Using MCE 2.3.1 and all products are downloadable. After a purchase, the customer is sent an Email verifying the purchase and it has a link back to their My Downloadable Products. When the link is pressed, it goes to their My Downloadable Products page with a list of the purchases and the error "The link is not Available".
Also the individual download links next to each product are missing. It shows the items Pending, but the 2.3 User Guide, p223 indicates Pending or Invoiced state is good for delivery. I have checked the server location for files and permissions. Number of downloads is 3 and it shows 3 downloads are available.

Please help as my website is down, unable to deliver product.
Thanks
Bob

enter image description here

Best Answer

The status of your download is "Pending." Did you invoice the order yet? If you don't invoice the order, the link status will not be set to "Available." Perhaps your payment method is not set to auto-invoice? Did anything change recently?

Just so you have a reference, the logic for setting the status is here: \Magento\Downloadable\Observer\SetLinkStatusObserver::execute. You may want to look at your "order item" record and compare it with the logic in this method.

Related Topic