GGOscar reacted to fulluvscents in [Contribution] Super Download Store for Version 2.3.x
There are a couple needed instructions in addition to those included in the contribution. Rather than spend time tinkering with someone else's contrib and uploading a new mod, I'll post those changes on the forum and hope that others find the post and can make the fixes. Perhaps, the contributor will make the necessary changes and upload a package with the patches.
1. In catalog/includes/modules/download.php around line 48,
$download_timestamp = mktime(23, 59, 59, $dt_month, $dt_day + $downloads['download_maxdays'], $dt_year);
$dty = intval($dt_year); $download_timestamp = mktime(23, 59, 59, $dt_month, $dt_day + $downloads['download_maxdays'], $dty);
2. In catalog/checkout_process.php around line 118
'date_purchased' => 'now()',
Add the following line AFTER the above code:
'last_modified' => 'now()',
The first change will fix the time error. The second change will fix the problem with missing download links and bad expiration dates (which you won't notice until after you get past the time error).
I think these were the only things that I ran across. I'll keep an eye on this thread. If you run into any other problems, it might be something that I also ran across and if I have a fix for it, I'll get it posted.
GGOscar reacted to 14steve14 in [Contribution] Super Download Store for Version 2.3.x
I hope you have this sorted by now. I f you havent.
To create a downloadable product, you first need to create the product in your store. Once done you need to go to product attributes, and select the product you have created from the drop down list. You thren set up the attribute and ensure that the file name also includes the file type so it may be something like oooooo.zip. Save the attribute and now when you open the product in your store you should have an attribute to select on the product info page.
GGOscar reacted to DunWeb in [Contribution] Super Download Store for Version 2.3.x
Ensure your order status is 11 or above to enable the downloads.
If the order is not showing in the admin/orders.php then you have an issue with the configure.php paths or the PayPal module.
GGOscar reacted to fdegree in [Contribution] Super Download Store for Version 2.3.x
In Configuration --> Download I have made a few changes...Download by redirect to True...Downloads Controller Update Status Value to 13...Downloads Controller Order Status Value to 12 (I also tried 11 for this setting)
The PayPal Payflow module Set Order Status is "Download Now Available"
I have the PayPal return URL as www.domain.com/catalog/checkout_process.php (I aslo tried just using checkout_process.php)
I still do not see the checkout_process page after the payment is made.
I know the checkout_process page is being built, and the download button and link to the download file is working fine because after I make the payment, and get directed to the Order Confirmation page, I then open another browser window and paste www.domain.com/catalog/checkout_process.php in the address bar...this takes me to the checkout_process page with all of the proper informaiton shown...clicking on the download button will result in the download of the file. Also, doing this results in the order showing up in Admin --> Customers --> Orders...if I don't do this the order doesn't show. I get this, until the checkout_process page is viewed, osCommerce doesn't see the order as being completed.
The problem is, after the payment is made, I'm not getting redirected to the checkout_process page and I don't know why.
If the issue is with the configure.php paths or the PayPal module, can you give me an idea as to what I should be looking for?
I went back to the configure.php file and confirmed the following line is added at the bottom, just before the ?>
define('DIR_FS_CATALOG_DOWNLOAD', DIR_FS_CATALOG . 'download/');
I also confirmed the permission was 444 or lower...it was actually set to 440
Thanks for your help, Chris!