Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 3 votes

TO HELP THOSE WITH DOWNLOAD PROBLEMS


88 replies to this topic

#21 mpm

  • Community Member
  • 314 posts
  • Real Name:mike
  • Location:Australia

Posted 04 January 2007, 08:50

I've done everything mentioned in this thread - but I do not get a link to download teh product either in my account or after I test buy the product.
For my contribution (to society) see my profile link.
--
my new charity store features: STSv4.5.2 and HTCv2.6.3 Bundle, Australian Post Shipping, Paymate, Category Trees Minimum Order Quantity, Enable/Disable Categories, Super Download Store, Paypal IPN, Free Dowloads, Anti-Robot Registration 2.6, Master Products, Lightbox for STS ... the rebuild continues...

#22 bkellum

  • Community Member
  • 4,892 posts
  • Real Name:Bill Kellum
  • Gender:Male
  • Location:Chicago

Posted 04 January 2007, 09:01

View Postmpm, on Jan 4 2007, 02:50 AM, said:

I've done everything mentioned in this thread - but I do not get a link to download teh product either in my account or after I test buy the product.
Hey Mike,

Try my step by step that I listed in detail in the following post:

http://forums.oscommerce.com/index.php?s=&...st&p=968212



I also found that osCommerce is very fussy with the name of your download file. It is better if the name is all upper or lower case with no spaces and includes the file extension (.zip). :thumbsup:



Hope this helps you out,

Bill Kellum
Bill Kellum

Sounds Good Productions
STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE

#23 mpm

  • Community Member
  • 314 posts
  • Real Name:mike
  • Location:Australia

Posted 05 January 2007, 05:07

View Postbkellum, on Jan 4 2007, 10:01 AM, said:

Hey Mike,

Try my step by step that I listed in detail in the following post:

http://forums.oscommerce.com/index.php?s=&...st&p=968212



I also found that osCommerce is very fussy with the name of your download file. It is better if the name is all upper or lower case with no spaces and includes the file extension (.zip). :thumbsup:



Hope this helps you out,

Bill Kellum

No luck so far. I still don't get a download link.
For my contribution (to society) see my profile link.
--
my new charity store features: STSv4.5.2 and HTCv2.6.3 Bundle, Australian Post Shipping, Paymate, Category Trees Minimum Order Quantity, Enable/Disable Categories, Super Download Store, Paypal IPN, Free Dowloads, Anti-Robot Registration 2.6, Master Products, Lightbox for STS ... the rebuild continues...

#24 mpm

  • Community Member
  • 314 posts
  • Real Name:mike
  • Location:Australia

Posted 05 January 2007, 05:54

Once I create a new order status (in this case 'updated') and then change the invoice to the new order status I get this error:
Fatal error: Call to undefined function tep_get_configuration_key_value() in /home/xxxx/public_html/shop_dev/admin/orders.php on line 56

Edited by mpm, 05 January 2007, 05:54.

For my contribution (to society) see my profile link.
--
my new charity store features: STSv4.5.2 and HTCv2.6.3 Bundle, Australian Post Shipping, Paymate, Category Trees Minimum Order Quantity, Enable/Disable Categories, Super Download Store, Paypal IPN, Free Dowloads, Anti-Robot Registration 2.6, Master Products, Lightbox for STS ... the rebuild continues...

#25 chooch

  • Community Member
  • 1,981 posts
  • Real Name:AA
  • Gender:Male
  • Location:London, UK

Posted 02 February 2007, 17:16

What if the downloaded file was not a real 'download' but a page that played the real video, wmv, quicktime file instead?

Is that possible?
Upon receiving fixes and advice, too many people don't bother to post updates informing the forum of how it went. Until of course they need help again on other issues and they come running back!

Why receive the information you require in good faith for free, only to then have the attitude to ignore the people who gave it to you?

There's no harm in saying, 'Thanks, it worked'. On the contrary, it creates a better atmosphere.

CHOOCH

#26 ben_stilwell

  • Community Member
  • 24 posts
  • Real Name:Ben Stilwell

Posted 22 February 2007, 17:58

For those that are recieving an error,

Change o.order_status to o.orders_status.

#27 ryanbehrman

  • Community Member
  • 67 posts
  • Real Name:Ryan Behrman

Posted 14 March 2007, 17:33

Does this work with the option of being invoiced rather than paying immediately? In other words:
1)Customer checks "invoice me".
2)When payment is received from the customer, the administrator changes status to allow for download.

I've seen a Cash On Delivery option for physical goods, but the only option I see for digital downloads is credit card payment.

Many Thanks,

Ryan

#28 ryanbehrman

  • Community Member
  • 67 posts
  • Real Name:Ryan Behrman

Posted 14 March 2007, 18:26

Ok I've sorted this one out (see previous post). Using Check/Money Order works to solve this issue.

Another issue now: There is still a link (which goes to a blank page) when the order is confirmed. How can one make this go away?

#29 ryanbehrman

  • Community Member
  • 67 posts
  • Real Name:Ryan Behrman

Posted 14 March 2007, 19:28

View Postben_stilwell, on Feb 22 2007, 05:58 PM, said:

For those that are recieving an error,

Change o.order_status to o.orders_status.

Thanks! That works brilliantly. Now if only my remaining problem (see previous post) were resolved...

Edited by ryanbehrman, 14 March 2007, 19:29.


#30 teresainPet

  • Community Member
  • 56 posts
  • Real Name:Teresa Gamble
  • Gender:Female
  • Location:Petawawa Ontario CAN

Posted 16 March 2007, 03:11

fixing the location of the define('DIR_FS_CATALOG', '/home/justch/public_html/shoppingcart/'); was exactly what I needed.

Mind you by doing the earlier fix in the download.php I was getting the same error:
Change o.order_status to o.orders_status.

so I went back to the standard download.php and my downloads work fine. I am sure that there is some vulnerability like mentionned about people using false credit cards to obtain the downloads for free - because of the nature of my downloads, I am willing to risk it.

Also because I use paypal, it will check if it is a proper credit card before allowing the download.

Teresa

#31 ryanbehrman

  • Community Member
  • 67 posts
  • Real Name:Ryan Behrman

Posted 16 March 2007, 13:04

View PostCyber2000, on Nov 12 2005, 12:58 PM, said:

Ok guys,

whilst looking on here for help in other areas, i still see that some are having problems in being able to get the downloads to work. Soo herre is the info for you thanks to my research on here and those that posted them in the first place:

Have you downloads activated??

If not you have to do this via the admin panel. In the 'Configuration' panel click 'Download'. Once you have that done click 'Enable download' and set it to 'true'.

You then have associate the sownloadable file to the product so you have to go into the 'Catalog' menu and click the 'Product Attributes' link. When you get to this page you will see three options 'Product Options', 'Option Values' and 'Products Attributes'. In the 'Product Options' menu enter a new option name called 'Download'. Once you have that entered go over to the 'Option Values' and enter in 'Yes' for the 'Download' option. Once you have all that done now you can go to the 'Product Attributes' panel and select your pruduct. Set the 'Option Value' for 'Download' and set the 'Option Value' to 'Yes'. Directly below the 'Option Name' there is a text window called 'Filename:'. Here you have to enter the name of the file thats associated with your product. Then just enter the expiry times etc and bobs your uncle.

Of course all this is useless if you do not have your product uploaded to the correct directory. The default directory is called 'download' but since you are selling a digital product I would reccommend that you change the name of the folder as this is the first place any hacker would look to get your stuff for free. If you do decide to change the name of the folder you will also have to change the name in 'includes/configure.php' to reflect the changes you made to the download folder.

no once you have done this the downloads will automatically be available upon a credit card payment. So, test cards will still allow them to steal the download for free. To ensure that the customer can only download once you have physically been paid add the foolowing code:

If you have the default osc catalog\download.php file try changing first sql query to this:
CODE

// Check that order_id, customer_id and filename match
$downloads_query = tep_db_query("select date_format(o.date_purchased, '%Y-%m-%d') as date_purchased_day, opd.download_maxdays, opd.download_count, opd.download_maxdays, opd.orders_products_filename from " . TABLE_ORDERS . " o, " . TABLE_ORDERS_PRODUCTS . " op, " . TABLE_ORDERS_PRODUCTS_DOWNLOAD . " opd where o.customers_id = '" . $customer_id . "' and o.orders_id = '" . (int)$HTTP_GET_VARS['order'] . "' and o.order_status = '3' and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_download_id = '" . (int)$HTTP_GET_VARS['id'] . "' and opd.orders_products_filename != ''");
This code should only allow the d/l if the order is set to delivered. so in admin control panel, if you click on the customer orders and then set the order from pending to delivered, the customer ONLY then will be allowed to click the link and download their order.

This STOPS ALL customer from sttealing your downloads by using the test credit card number (which I wont display even you know it as it is not fair).

Hope you get it and it works as I am using it and it works great.
Thanks
RJ

Thanks this works for me! However, I am about to start implementing PayPal IPN and am wondering whether to use this method or http://www.oscommerce.com/community/contri...search,download ? Does anyone have any advice on which method is better to use? Any pros and cons to the 2 methods?

#32 osmacguy

  • Community Member
  • 11 posts
  • Real Name:ray S

Posted 02 April 2007, 19:28

ok so i have done everything mentioned and i still dont get a useable download link. i uploaded a test file like a month ago and it worked fine. it even had spaces and was a .mp3 file. now ive uploaded real files as its digital downloads and nothing. so i changed to all different order status, nothing, changed to several forms of files location eg.. http://www. and www. and other variations within the file name and nothing. i have about 15 files that when purchased with a test card come up as normal, but when it says click to download, it shows u the file name but u cant click it. ive tried all the files now, even uploaded a picture file as a test and a zip file with basic names eg.. bg.zip and nothing works. nothin changed since a few weeks ago when it worked, and after i found it didnt work... i changed the query in /catalog /download and the other things mentioned here but nothing. i can manually type the address into safari and it locates the file and opens it in quicktime, so i dont get why when the transaction is completed, you cant use the link buton?!!? please help!!!!!

#33 mkrueger

  • Community Member
  • 8 posts
  • Real Name:Mark Krueger
  • Location:San Francisco, CA

Posted 02 April 2007, 21:41

The only problem is shipping.....It's asking my customer what shipping type they want (I use the USPS module only for shipping). Why would it be asking about shipping for a downloadable product?

Thanks for the walkthrough, at least I have downloads working now.

#34 osmacguy

  • Community Member
  • 11 posts
  • Real Name:ray S

Posted 02 April 2007, 22:09

View Postmkrueger, on Apr 2 2007, 10:41 PM, said:

The only problem is shipping.....It's asking my customer what shipping type they want (I use the USPS module only for shipping). Why would it be asking about shipping for a downloadable product?

Thanks for the walkthrough, at least I have downloads working now.


change the wieght to zero and delete the shipping module. mine was coming up with flat rate, but as soon as i deleted flat rate shipping in admin, it skips the shipping page.

#35 ishmot

  • Community Member
  • 2 posts
  • Real Name:Jared Larsen
  • Gender:Male
  • Location:Albuquerque

Posted 10 April 2007, 15:32

View Postryanbehrman, on Mar 14 2007, 06:26 PM, said:

Ok I've sorted this one out (see previous post). Using Check/Money Order works to solve this issue.

Another issue now: There is still a link (which goes to a blank page) when the order is confirmed. How can one make this go away?



And I am having the exact same problem.... Has anyone figured this out or does anyone have a sollution?

thanks,

jared

#36 jesscarp

  • Community Member
  • 1 posts
  • Real Name:jess Carpenter

Posted 19 April 2007, 19:50

View Poststu2000, on Oct 18 2006, 08:44 AM, said:

try setting in downloads redirect to false

Thanks for this ...I spent all day trying to figure it out until I found your post, I love forums... :thumbsup:

#37 quirl

  • Community Member
  • 5 posts
  • Real Name:thomas

Posted 24 April 2007, 12:10

HI all
i have a problem conecerning downloads :
i deleted the product atribbs , all of them because i didnt know this. now what i did was to create them again but apaprently this doesnt work.

is there a way to get dl s working without reinstalling?
????
help is appreciated very much
and thanks
thomas

#38 eisot

  • Community Member
  • 6 posts
  • Real Name:Eva Isotalo

Posted 19 May 2007, 16:21

Thank you Cyber2000 for the walk through. Great work! :thumbsup:

I was able to get the whole thing working although I'm an old lady with few brain cells left.... :blink:
------------------------

One thing (isn't there always), I only have digital, downloadable items so how do I get rid of all the text talking about "shipping address" and the like while checking out? It should be possible to have something like confirming your personal data but nothing saying "shipped to..." etc.
Do I have to change all text in some language files or can this be automatic somehow?

Sorry, I'm not sure I can explain clear enough, English is not my native language. :blush:

Eva

#39 enigma1

  • Community Member
  • 8,206 posts
  • Real Name:Mark Samios

Posted 19 May 2007, 17:45

also make sure you apply the latest official fix regarding currencies.

http://forums.oscommerce.com/index.php?s=&...t&p=1075372

This is required in general with all stores, but it's important with those who sell downloads, as the "visitor" maybe able to download a product without paying.

#40 imusic

  • Community Member
  • 71 posts
  • Real Name:russell

Posted 23 May 2007, 11:44

Has anyone managed to sort out the problem of the expiry date. Customers are getting an expiry date for downloads as 1999 and when I change the admin to 0 it goes to 1969....does anything need changed..what am I doing wrong here..thanks