Hello everyone,

The installation in question is a new store, selling eBook files. Everything in the store seems to be working well, but when a file is purchased, even after the customer gets the nice emailed invoice receipt, there is no link to the download file. Furthermore, when the customer goes to their "Files" tab, they see a message that says "No downloads found". Under the "Orders" tab, the order is there, listed as "Completed", along with the total for the order. In the order itself, is the eBook title. As an admin, I can go into that person's user page and add the file, but I shouldn't have to do that; besides, people expect to get their file right away after they've paid.

I have made sure that File Download permissions are set to anonymous so there shouldn't be any issue related to that. Under "Store Configuration", "Checkout", there are only two rules. One is "E-mail customer checkout notification" and the other is "E-mail admin checkout notification". I'm guessing there's at least one rule missing here (no option to add rules). Also, I should mention that at first, orders were stuck in "Pending" even after PayPal returned. I modified the customer rule to change the status to Complete after payment, but that should have just worked. Once you've paid, the order is complete.

Can anyone help with this. Yes, it's critical.

Many thanks for any help you can offer.

-- Marcel

Comments

wftl created an issue. See original summary.

wftl’s picture

One other thing. I've tried using the 7.x-3 dev file from today, but the results are the same.

-- Marcel

TR’s picture

Version: 7.x-3.9 » 7.x-3.x-dev
Category: Bug report » Support request
Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

I can't reproduce this on a clean site. Not much has changed with file downloads for a long time. The Rule you should look for is "Renew purchased files", found at /admin/config/workflow/rules. The item of interest there is the order status used to grant the file access. By default it is "Payment received". If your order never moves to "Payment received" (e.g. if it goes from "Pending" directly to "Complete") then the Rule will never be fired. So a lot has to do with the payment module you're using - "Check" for instance leaves the status in "Pending" until you manually enter a check as received, while PayPal moves the order to "Payment received" as soon as the PayPal IPN notification is received and verified. Another thing to check is to make sure the file download is associated with the correct SKU. If you have attributes/options on your products and those combinations have different SKUs. If you don't see all the Rules then make sure you have the Rules UI module enabled - it's not needed in order to run anything but it makes setting up your Rules easier.

TR’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

No further information provided.

I have since added automated tests to ensure that the file purchase and download process works. These tests currently run without error.