dxer Posted April 6, 2009 Posted April 6, 2009 I have a problem with download link appearing in user account under product user ordered. Link is displayed but order is not proccesed ! This is when buyer select payment by invoice. Order status is still In processing, but download link is available nevertheless. How to fix this ?
dxer Posted April 6, 2009 Author Posted April 6, 2009 just to add what I already tried : What I did is applied following to download.php but this didn't helped // 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 != ''"); and // Die if not delivered require (DIR_WS_CLASSES . 'order.php'); $order = new order ($HTTP_GET_VARS['order']); if($order->info['orders_status_id'] < 2) die; any further ideas ?
duovision Posted April 6, 2009 Posted April 6, 2009 Hi, there's a lot of specific add ons & modules for oscommerce try to use Downloads Controller at: http://addons.oscommerce.com/info/994 or even: http://addons.oscommerce.com/info/4868
dxer Posted April 7, 2009 Author Posted April 7, 2009 Hi, there's a lot of specific add ons & modules for oscommerce try to use Downloads Controller at: or even: Thanks but I fixed problem in the meantime.
isuelt Posted April 14, 2009 Posted April 14, 2009 So how did you fix it? tell us how you fixed it. :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.