0
当我收到中介支付通知时,我正在使用中介付款,并创建了一种对帐方法,以更改magento中的请求状态。如何发送订单更新邮件?
它真的有效,在数据库中的交易状态等,我的问题是我如何发送电子邮件通知给听谁更改订单状态的用户?
当你手动更改应用程序的状态有选择复选框来通知客户端,我想同样的事仅仅是这样的:
When you finish updating the status in the database to send the email with the new status something like:
<?php
$order = Mage::getModel('sales/order')->load($id);
$order->sendUpdateOrderEmail($newStatus);
?>
这个工程$ order-> sendNewOrderEmail() – Dexxtz