insanebear Developer Tól től Poland Tagság okt. 2014 óta insanebear 10 nov. 2016 08:41 I have payment module and i need to receive email after order status change (in verify function). Is there a simple solution for this? $order = new ctrl_order('load', $order_from_db['id']); $order->data['order_status_id'] = '2'; $order->data['payment_transaction_id'] = $transaction['id']; $order->save(); // Here i want to send email to settings::get('email_order_copy') about product status change header("HTTP/1.1 200 OK"); die('OK');
tim Founder Tól től Sweden Tagság máj. 2013 óta tim 10 nov. 2016 10:20 Just simply call the command: function::email_send( settings::get('store_email'), settings::get('email_order_copy'), 'Status Change', 'A status has been changed' );