flamex Posted May 4, 2009 Posted May 4, 2009 Hi, I am new to osCommerce and I would like to setup an online sheetmusic store (selling *.pdf). I have searched online and read quite a few instructions on how to setup the digital products, but none of them seems to be very clear on the security aspect. My questions are: what will be sent to customer upon successful payment? a link? is this link accessible to everyone, meaning everyone who knows the link can download this? is there a 'hotlink' protection on this? I appreciate your help and thank you for answering me. FlameX
Guest Posted May 4, 2009 Posted May 4, 2009 I'm in a similar position wanting to sell my photos as files
Eirik Posted May 4, 2009 Posted May 4, 2009 The link for download will only be available to the customer once you have processed the order past a specific point which you set in the admin panel under Localizations>order status, the download link will stay active for only as long as you have predetermined in your admin panel under configuration>download.
Eirik Posted May 4, 2009 Posted May 4, 2009 to be clear, only a customer who has purchased a product can download if you have set it up right.
Gretsch Posted May 4, 2009 Posted May 4, 2009 The link for download will only be available to the customer once you have processed the order past a specific point which you set in the admin panel under Localizations>order status, the download link will stay active for only as long as you have predetermined in your admin panel under configuration>download. Thanks Eric, I'm in exactly the same situation, trying to understand and configure a download store. Can you point me to the email (containing the link) that gets sent to the purchaser please - so that I can view/configure the wording. Thanks
Eirik Posted May 4, 2009 Posted May 4, 2009 By default osc makes the download link available in the account_history_info.php and will supply a link to that page in the order emails that osc outputs. What I would do is insert an additional status in the localizations>order status and call it something like Download Available.
Gretsch Posted May 4, 2009 Posted May 4, 2009 Thanks Eric, I'm in exactly the same situation, trying to understand and configure a download store. Can you point me to the email (containing the link) that gets sent to the purchaser please - so that I can view/configure the wording. Thanks I now see that the link becomes display on the Order Confirmed dialogue (rather than in an email). But in the Admin>>Localisation section: you have to set have to order status PENDING to have 'downloads=true' bit counterintuitively perhaps, but no matter once you know!
Eirik Posted May 4, 2009 Posted May 4, 2009 I now see that the link becomes display on the Order Confirmed dialogue (rather than in an email).But in the Admin>>Localisation section: you have to set have to order status PENDING to have 'downloads=true' bit counterintuitively perhaps, but no matter once you know! No you can edit the ability to download on any status you want, but I would for your own safety to after the credit card has been charged. You can have more than 1 status that means the same thing as well, so you can have Shipped / Processed and Download Available having identical settings.
Guest Posted May 4, 2009 Posted May 4, 2009 so how do you tell oscomerce where the "media" you are selling is stored ? in my case i have images to sell, so the customer will see a small version in the form of a thumbnail but how do i make the original file available for download ?
Eirik Posted May 4, 2009 Posted May 4, 2009 so how do you tell oscomerce where the "media" you are selling is stored ? in my case i have images to sell, so the customer will see a small version in the form of a thumbnail but how do i make the original file available for download ? You store the media(in your case hi-res photographs) in the download folder in the catalog root, you assign what file that goes with what product by assigning product attributes that point to the media in the admin panel under catalog>product attributes once you have created the product.
flamex Posted May 4, 2009 Author Posted May 4, 2009 The link for download will only be available to the customer once you have processed the order past a specific point which you set in the admin panel under Localizations>order status, the download link will stay active for only as long as you have predetermined in your admin panel under configuration>download. that's really helpful, thx eirik.
Gretsch Posted May 4, 2009 Posted May 4, 2009 No you can edit the ability to download on any status you want, but I would for your own safety to after the credit card has been charged. You can have more than 1 status that means the same thing as well, so you can have Shipped / Processed and Download Available having identical settings. Thanks Eric. I understand your comment about safety - thanks. However here's my problem: With the default setup - After I pay with Paypal (using the 4111 text a/c) I get returned to index page! but If I set OrderStaus:Pending to downloads=true... after I pay with paypal I get returned to 'Your Orders been processes" page - which contains the download link. (it also generates an email - which contains the order details, but NOT a link!!) fyi - I have a std version of osc installed (yesterday) with no added 'contributions' and no changes to the code. And I only have download items. Further to you suggestion to add an extra 'Download available' status. I added one, nothing changed re above ... how does osc know what/what to do with this additional status? Thanks for your help.
Eirik Posted May 4, 2009 Posted May 4, 2009 Thanks Eric.I understand your comment about safety - thanks. However here's my problem: With the default setup - After I pay with Paypal (using the 4111 text a/c) I get returned to index page! but If I set OrderStaus:Pending to downloads=true... after I pay with paypal I get returned to 'Your Orders been processes" page - which contains the download link. (it also generates an email - which contains the order details, but NOT a link!!) fyi - I have a std version of osc installed (yesterday) with no added 'contributions' and no changes to the code. And I only have download items. Further to you suggestion to add an extra 'Download available' status. I added one, nothing changed re above ... how does osc know what/what to do with this additional status? Thanks for your help. The link for the download is not in the email, you will find the link once you click on the Detailed Invoice: http://yourwebsite.com/account_history_info.php?order_id=33 link that you received in the email, that is as long as the Order status has progressed far enough to initialize the link. So to reiterate the link for the actual download you find in the users account_history, they can also get to the link by signing into the website and then using the my account to enter the previous orders and then clicking the view icon next to that order. at the bottom they will find a download link.
Eirik Posted May 4, 2009 Posted May 4, 2009 Sorry forgot to answer another part of your question, inside of each payment method you can set a default Order status that is applied once the checkout has been completed. So lets say you create a order status called Proccessed / Download ready and apply both the public and download option. Then on the YoYo credit card payment module you set the default status after checkout as Proccessed / Download ready, as soon as checkout is complete they will have access to the download. However say someone pays with echeck payment method it will still respect the original order status.
Guest Posted May 4, 2009 Posted May 4, 2009 so any file that is to be downloaded goes into the download folder and i take it that this folder is security protected ? do I just put the file name ine the file location feild as I presume osc already knows its in the download folder ?
Eirik Posted May 4, 2009 Posted May 4, 2009 no you upload the file via ftp, and the folder should be fine as long as you set all your permissions correctly.
Guest Posted May 4, 2009 Posted May 4, 2009 ok I know I'm going to be hit for this but is it possible to have multiple versions (file sizes) of a product with a price for each rather than have a .7, 1.2, 3, 6, 10 mega pixel product for each picture just have the one product with different options ? although I'm after selling large versions of my images from experience on stock sites people like cheap 0.7-1.2 Mp images
Eirik Posted May 4, 2009 Posted May 4, 2009 Sure is possible, just make multiple attributes, one for each dimension/ resolution size. can adjust the price per attribute as well.
rickftcco Posted May 9, 2009 Posted May 9, 2009 *groan* Have posted and posted, have inserted logging fwrite()s and mapped the architecture. Sitll no blessed download link. Have spent weeks working on this function. I get an email from PayPal but nothing from OSC. After PayPal processes the order, the return button has the proper path and osCsid, but OSC has dropped the session. The logic then takes the person back to the beginning of the process, with the shipping info page. The downloadable is still in the shopping card, and no order confirmed page appears. Really wish there was a way to make this work. It is a new store, and everything else seems to work except downloads. Rick
servicevu Posted May 15, 2009 Posted May 15, 2009 Sure is possible, just make multiple attributes, one for each dimension/ resolution size. can adjust the price per attribute as well. Dears, I have tried most of the steps that were posted here, but I am still not getting a download link after the payment was processed. Order status was set, the order was processed and status automatically set to that status with the download enabled. The file is available in the download folder and the filename was added to the product attribute. Even when I open the order link that was received by email, no link for download is found in the order details online. Any comments? Regards, Aziz
♥14steve14 Posted May 17, 2009 Posted May 17, 2009 There are several contributions available that make selling downloads easier. I personally use download shop and download file helper REMEMBER BACKUP, BACKUP AND BACKUP
Recommended Posts
Archived
This topic is now archived and is closed to further replies.