alozoya Posted April 3, 2014 Share Posted April 3, 2014 I have been searching for a solution that would automatically set "Processing" orders to status "Order Complete" after an order has been placed.Right now, when an order goes through, the status gets set to "Processing" by default. Then someone has to login and manually change the status to complete before the customer gets their final receipt and the PayPal payment is captured. I found an old post that solves this, but its for an old version of CubeCart. '?do=embed' frameborder='0' data-embedContent>> So the solution for the 5.2.8 is done by locating the file order.class.php in the classes folder. Around line 250 locate the following code: $this->assignOrderDetails(); $mailer->sendEmail($this->_order_summary['email'], $content); unset($content); Then add this snippet right above it: $this->_digitalDelivery($order_id, $this->_order_summary['email']); Hope it helps. Al Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 4, 2014 Share Posted April 4, 2014 In my copy of this file for CC528, the digitalDelivery command appears just a few lines further down -- just above the break; statement in the ORDER_PROCESS case. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.