Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I have installed this contribution, fixed the 1064 SQL error but still I receive no download link either through the customer's order or email that is generated.

 

I am unsure as to which files I need to post here for perusal, so if someone would let me know, I would certainly do so.

 

I have ensured that both the download folder and the pub folder are CHMOD to 777, and the files to be downloaded (zip files, all and one post stated that the cart seemed to not want to allow zip's to be downloaded??) to 777 as well.

 

Searching through the forums for an answer to this question is difficult at best since the topics are so vast and spread out, but I have done my best so as not to be redundant.

 

Thanks!

Posted (edited)
I have installed this contribution, fixed the 1064 SQL error but still I receive no download link either through the customer's order or email that is generated.

 

I am unsure as to which files I need to post here for perusal, so if someone would let me know, I would certainly do so.

 

I have ensured that both the download folder and the pub folder are CHMOD to 777, and the files to be downloaded (zip files, all and one post stated that the cart seemed to not want to allow zip's to be downloaded??) to 777 as well.

 

Searching through the forums for an answer to this question is difficult at best since the topics are so vast and spread out, but I have done my best so as not to be redundant.

 

Thanks!

First of all if you are not working with zero cost downloads, I suggest you do that and then you can utilise the Webmaster Free Credit Card and eliminate any hang-ups that might be caused by payment IPNs.

 

Check that you have set the attributes for the product and file correctly and that the file name is correct with no spaces

 

Check the Order Status Value settings, go with the suggested defaults for the time being.

 

There is no link generated in the email. It only shows either on the checkout_success page or in "My Account"

 

There is some good stuff in the thread for DC...check it out

 

Steve

Edited by Sierrab
Posted

"First of all if you are not working with zero cost downloads, I suggest you do that and then you can utilise the Webmaster Free Credit Card and eliminate any hang-ups that might be caused by payment IPNs."

 

 

 

 

What does this mean? I noticed that when I setup osCommerce, there was an automated option of Credit Card Processor - is this what you are referring to? How do I use the download module to download FREE Digital Products? Any ideas? I'd like to require that they make an account so that I can track everyone who downloads my digital product - but I too am having the same problem with a link not being generated under the customers "My Account".

 

Please keep me abreast of any resolution.

 

Thanks in advance.

Robert

Posted

I did get this working finally after reading more posts on the subject.

 

The post that helped me to fix the error was this one.

 

But there is an error on this. Insted of placing the code ABOVE the $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); , put it below it. I figured this out because the code to paste in is an action code (if function) and in looking around at the rest of the coding on other pages, I decided that the IF function needed to be below an $action of some type. Besides, there were other if functions under that and it made sense to me.

 

The next thing to do is to add an product attribute and assign a variable to it. You MUST have this in order for the link to show.

 

I added the category 'download' and the variable of 'yes'. Each product will now be able to be downloaded and the download link will show. You will also have to go to the link I gave above and download the up/down buttons, or create your own and name them ic_up.gif and ic_down.gif, I think. Check your source code on the page where the images are failing to display to be sure of the proper name and folder placement.

 

The link will display immediately upon completetion of the order status that you designated. Also, I did set the download to redirect to false. There will be a table below the order showing when the link will expire for the customer as well as how many more downloads of that product they have left. It will also list multiple product download links. Neat contribution!

 

I would update the contribution, but the updating the README is daunting to me. If anyone who is more experienced wants to do this, I am sure it would be greatly appreciated.

Posted
I would update the contribution, but the updating the README is daunting to me. If anyone who is more experienced wants to do this, I am sure it would be greatly appreciated.

 

 

I did upload the updated contribution based on the fixes mentioned above.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...