| Project: | e-Commerce File Downloads |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
Hi
Think this is a great module for ecommerce. I just have a question regarding the file downloads when a user has bought the product. I have followed the instructions and managed to buy the product. But since I'm at the moment having this site on a local server the IPN for paypal doesn't work. And I want to know if this (or if it is the local server it self) affects the file download so it doesn't show up under store > and my files. I've set the order status as completed manually since I've read that it had to be that for it to work. But it still don't..
I also tried to set the payment status to full instead of pending.
It would be great if you would let me know if it doesn't work properly when running on local server, or if it is any other problem or something I'm just missing.
Comments
#1
#2
@freddiz: glad you're using the module :) Don't worry about the IPN for Paypal not working for testing - you can set the transaction status to "Completed" (and the allocation status to "Full") and the file should show up under user/[uid]/store/myfiles
Ideally you're looking for that screen to look like this.
You've attached the file to the node you're selling and marked it to "Sell", correct?
#3
#4
Hi and thanks for the answer, sorry that I didn't replied until now.
I have set both transaction status and allocation status, so that part is ok.
I don't know if the problem lies with the sell part. Tried to set it as default sellable, but that wasn't helpful. And instead of coming to my files and se that there is nothing for download, I now get the white page of death and the following error in the log:
call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'ec_file_my_overview' was given in /Applications/MAMP/htdocs/holmanmusic/includes/menu.inc on line 348.
Don't know if any of this is helpful. Should I try to reinstall the module or do you have any ideas?
#5
Apparently I no longer get the white screen, but my files is still empty even though the status is set. It still seems I'm missing something. Think the first step is toi find out where I mark the product for "sell".
#6
When you upload the file, there are some checkboxes given by default ("delete" and "list") next to the uploaded file. ec_file adds a new checkbox, "Sell". It should look like this (see attached).
#7
WITH the "Sell" checkbox checked, of course.
#8
I'm afraid that is my big problem.. I don't have the checkboxes. And still I followed the setup instructions multiple times. Any other ideas?
This is how it looks like
#9
Ah, thanks freddiz, that's helpful. Let me replicate the installation process on a clean install and see where it goes wrong, as you should have both a "list" and a "sell" checkbox on that screen.
#10
Quick question: what version of drupal are you using?
#11
#12
Thanks for taking the time to figure out this.
I'm using version 6.15. Just let me know if there are any other information you need.
#13
Some more information about my problem. I just find out when reading a post that some didnt' see thir private checkbox because they had file field enabled, and thats why it didn't work. I'm wondering if this could be the issue for my problem as well, since I'm using file field for my mp3 player module.
Haven't got it to work yet when disabling file field, but I keep on trying.
#14
Yes, filefield is another way to upload files, but Private Upload doesn't support it (I've requested them to do so here: #313539: Compatiblity with FileField: private_upload cannot work with filefield without modification of code.). Files that you want to see via the ec_file module must be uploaded using the Upload module in core, and then marked "Private" and "Sell".
#15
Ok, then I know what modules I can use, but when I enable private upload the checkbox for "List" disappears. I see the you still have it in your content type #7. Are there any settings except in private upload to work with. Can't figure out why I don't get sell and private checkbox. I'll thinking about creating a new local site and only implementing the stuff needed for this and see how it goes.
#16
Hmmm...sounds like a bug to me. I need to check this on a clean install.
#17
Yes it sounds like that, I just created a new local site and only added ecommerce, private upload and ec_file and got the same result. All I got was a delete checkbox for the attachment nothing else.
#18
Please check out the latest dev version (once drupal.org re-rolls it) - I've just committed some changes.
#19