Product Status, download link and Coupon
Dear community
I have just read the "tutorial" on how to add digital downloads (via. link) - I purchased one of my own products for testing which works great, I just have 3 questions:
1. I noticed that the order status was "Processing", I was waiting and waiting but without getting any results, my questions is, if it's possible to "delivery"/accept the payment automaticity?
2. I accepted the payment manually and set the status to "Delivered" - I then went to "My Account" to "download" the file but when I click on the download bottom it redirects me to a white error 500 page (pub/.eyrgvpowtfqxsmfisv/Nepty.rar)
I made sure that my PUB folder is set to 777, and my DOWNLOAD folder is 755.
3. Do made a discount for "Gift Certificate" (just for testing), I then entered my coupon code and noticed that it was valid for all products.
How do I apply a coupon code for 1 specific item?
Cheers,
Mike
Re: Product Status, download link and Coupon
3. That's done under the 'Restrictions' button in the Coupon setup.
Re: Product Status, download link and Coupon
Dear stevesh
Thank you for you're reply, I just checked the 'Restrictions' section and I had success, thank you!
I wish you a merry christmas buddy,
Cheers,
Mike
Re: Product Status, download link and Coupon
Does, nobody know the answer for the other two questions?
Re: Product Status, download link and Coupon
Re: question #3:
Are you running on a Linux or Windows host? The setting under admin Configuration->Attribute Settings for the "download" should normally be "Download by redirect" set to true if you're running on a Linux host. I'm pretty sure the download tutorial indicates the setting required for a Windows host.
Re: Product Status, download link and Coupon
It is set to:
Code:
Enable Downloads true
Download by Redirect true
Download by streaming false
Download Expiration (Number of Days) 7
Number of Downloads Allowed - Per Product 50
Downloads Controller Update Status Value 4
Downloads Controller Order Status Value >= lower value 2
Downloads Controller Order Status Value <= upper value 4
Enable Price Factor true
Enable Qty Price Discount true
Enable Attribute Images true
It does look alright to me, though when I upload the files to "download" or "pub" with the exact same name as in the attribute - then it still gives the error 500.
It directs me to this link: "/pub/.emfpmsqdlljthxh/Nepty.rar" I don't know if that has something to say?
Merry Christmas guys! I hope you've had a wonderful day,
Cheers,
Mike
Re: Product Status, download link and Coupon
Oh, ah ps. it's running on a Linux:)
Re: Product Status, download link and Coupon
I guess nobody knows why I get the Error 500 when clicking the download link?
I have done as this tutorial says: https://www.zen-cart.com/tutorials/index.php?article=71
The icon under Attribute controller is "green", so it should be working - I just get the error 500 when trying to download the purchased file.
Re: Product Status, download link and Coupon
Re: Product Status, download link and Coupon
Quote:
Originally Posted by
Sp34k
Dear community
2. I accepted the payment manually and set the status to "Delivered" - I then went to "My Account" to "download" the file but when I click on the download bottom it redirects me to a white error 500 page (pub/.eyrgvpowtfqxsmfisv/Nepty.rar)
Mike
Hmm gosh it's been so long since i had to deal with them particular issues lol I'll take a gander..
1. the only thing I can think of is how your payment setting is done. Like in paypal I got it set to pending>processing. I'm sure there another way, as mine has done automatically but I can't find where I did the adjustments.
2. You may have done this already, but be sure that your download item is actually loaded into the download folder only and not anywhere else. You shouldn't have to load it in any other folder as the pub is a temporary area for redirected files. Make sure that the file is deleted from pub folder.
AND/OR
Your not set to "accept" that file type. Go under Configuration in you admin area and go into Maximum Values and scroll near the bottom till you find the "Allowed Filename Extensions for uploading" and there should be a list of the current files allowed, simply type in the rar file and update and that should work. Just follow how the other file types are listed, with no spaces and commas.
Hope that helps ^^
Re: Product Status, download link and Coupon
Quote:
Originally Posted by
Sp34k
but when I click on the download bottom it redirects me to a white error 500 page (pub/.eyrgvpowtfqxsmfisv/Nepty.rar)
A "500" error is an "internal server error", and the "reason" for the error will be recorded in your webserver's apache errorlog, which you should be able to view in your hosting company's control panel, or request it from the hosting company's tech support department.
Usually a 500 error is triggered by security rules on the server, either mod_security related (unlikely when just attempting to download a file) or httpd/apache/htaccess config settings on the webserver ... perhaps denying you the option of following symlinks.
Only your hosting company can fix that.
Re: Product Status, download link and Coupon
Dear Ayperi
Thank you for you're reply.
I went under the configuration -> Maximum Value and noticed that "rar" was not added, so I added it but without much success..
Even though it didn't work - I still appreciate you're help, this setting will help me in the future:)
Dear DrByte
I went to my error log and noticed something that might make sense to you (not to me):
From my little knowledge on this area - I guess it's the htaccess that causes the problems here?