fred77fr Posted October 28, 2007 Posted October 28, 2007 Hello Sorry for my poor English. I want to change the status of an order follows a use of a coupon for the link to the file downloadable apparaise immediately and not after validation in the administration. I think ccerr.php must be changed but I can not. Thanks
Guest Posted October 28, 2007 Posted October 28, 2007 Hello Sorry for my poor English. I want to change the status of an order follows a use of a coupon for the link to the file downloadable apparaise immediately and not after validation in the administration. I think ccerr.php must be changed but I can not. Thanks No idea what contrib you are using, but you may have to realease it in admin.
fred77fr Posted October 28, 2007 Author Posted October 28, 2007 No idea what contrib you are using, but you may have to realease it in admin. Sorry I used CCGV (trad) and Download_Controllerv5.3 MS2.2_2 In admin, payment module ccerr.php (credit class error) have not possibilities to set order to paid. How to modify this ? Thanks
fred77fr Posted October 29, 2007 Author Posted October 29, 2007 At first I found. In checkoup_process.php Before the code // BOF: WebMakers.com Added: Downloads Controller // OrderCheck // Added 'orders_id' => $insert_id, to the list below $sql_data_array = array('orders_id' => $insert_id, 'customers_id' => $customer_id, I added if ($order->info['payment_method'] == '') { $order->info['order_status'] = 4; } Can you tell me if this code is correct and has no security problem. You can try with the coupon: d66a3f On http://www.toutpourchanter.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.