osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

DOWNLOADABLE PRODUCTS - EXPIRY DAYS BUG - Probably!!!

This is a discussion on DOWNLOADABLE PRODUCTS - EXPIRY DAYS BUG - Probably!!! within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; EXPIRY DAY HUGe BUG - when I try to sell downloadable ebooks end put any number of expiry days ie. ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-16-2004, 06:19 AM
Lurker
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
norb
Default DOWNLOADABLE PRODUCTS - EXPIRY DAYS BUG - Probably!!!



EXPIRY DAY

HUGe BUG - when I try to sell downloadable ebooks end put any number of expiry days ie. 7 (default ) in Atributes (Version, Download -English, expiry days, number of downloads, file name) it appears that the EXPIRY DATE is 7 DECEMBER 1999 - and client can't download the paid item becouse we have March 2004 today

Where CAN I change the Expiry days initial date to the date of time of purchase????[/b]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 03-16-2004, 07:30 AM
Member
 
Join Date: Oct 2003
Location: The Antelope Valley in SoCal
Posts: 47
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
In-Overtime
Default Similiar Topic Thread

NORB, I saw your post at the link listed below.

For all others trying to find a solution to this problem, this topic is also being discussed at http://oscdox.com/index.php?name=PNp...pic&p=7516

For the moment, as of today's date, 3-16-04, there hasn't been a solution offered, or discovered.

And it is the final obstacle to finishing my father and uncle's web site.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-17-2004, 01:46 AM
Lurker
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
norb
Default

I think the problem in in catalog/includes/modules/downloads.php
in below:
I use REDHAT 9 and Plesk 6 on my server - Does anyone know what to do with this below - should be any change in the code (I can provide all my downloads.php file if there is someone good enough to solve it):
<?php
while ($downloads = tep_db_fetch_array($downloads_query)) {
// MySQL 3.22 does not have INTERVAL
list($dt_year, $dt_month, $dt_day) = explode('-', $downloads['date_purchased_day']);
$download_timestamp = mktime(23, 59, 59, $dt_month, $dt_day + $downloads['download_maxdays'], $dt_year);
$download_expiry = date('Y-m-d H:i:s', $download_timestamp);
?>

I addded attachement of the file downloads.php - it's clean.
Attached Files
File Type: zip downloads.zip (1.9 KB, 2 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 03-17-2004, 07:17 AM
Member
 
Join Date: Oct 2003
Location: The Antelope Valley in SoCal
Posts: 47
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
In-Overtime
Default

norb, yesterday msasek took a look at my setup and fixed it, but I am not quite sure what was needed to be fixed. It took several hours and I certainly appreciated his time.

I asked him to outline what he did to make things work again, because I was a bit unclear.

He mentioned that there was a small bug in the PayPal IPN module that he was working on. I'm not sure if that had anything to do with it.

But hopefully there will be some more indepth info coming soon. Sorry to say this, but I'm kinda glad that I wasn't the only person to have this happen to.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 03-17-2004, 08:02 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

norb, are you using this in conjunction with paypal IPN payment module? If so, that is the problem. There is an incompatibility with IPN and the download manager. A quick workaround is to use the old paypal module, as it does not have the issues.

All I did on In-Overtime's site was to disable IPN, switch to the original Paypal Mod, and correctly apply the download attribute to his product (he was missing some of the setup). It is not really a fix, but a workaround. I think the best option is to update IPN to the newest version, which is compatibile with the download manager. I am working on this presently, hopefully getting the new mod working with MAX by the weekend...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 03-17-2004, 02:26 PM
Lurker
 
Join Date: Mar 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
norb
Default

when i installed PayPal_Shopping_Cart_IPN_v1.7 it made a lot of mess on my website based on MS2 MAX 1.5 - so I decided to stay with my back up of your oryginal MS2 MAX 1.5 -
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 03-29-2004, 10:01 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,328
Thanks: 68
Thanked 322 Times in 305 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

norb, I just put together a modded PayPal_Shopping_Cart_IPN_v1.7 that removes the old IPN and fixes the problem with downloads among other issues. I suggest downloading it from the announcements in MS2-MAX discussion forum.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Downloadable products not downloading iluminada osCMax v2 Installation issues 3 11-29-2005 07:49 PM
AutoGenerating Authorization for Downloadable products ? zonzo_1 osCMax v1.7 General Mods Discussion 0 11-09-2005 08:33 AM
Products default to content type virtual or 'downloadable' cameroti osCMax v2 Installation issues 2 10-20-2005 02:01 PM
expiry date problem on live store!! jasonabc osCommerce 2.2 Installation Help 1 10-01-2004 11:32 AM
Extending Admin login expiry time NickW osCMax v1.7 Discussion 5 06-28-2004 08:36 AM


All times are GMT -8. The time now is 11:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax