This is the API docs for LemonStand V1, which has been discontinued. LemonStand is now a cloud based platform, available at lemonstand.com.

LemonStand API

shop:onBeforeOrderInternalStatusMessageSent event

Triggered by Shop_OrderStatus
Author LemonStand eCommerce Inc.

Event handler signature

public boolean event_onBeforeOrderInternalStatusMessageSent(Shop_Order $order, Shop_OrderStatus $status)
$order Shop_Order specifies the order object.
$status Shop_OrderStatus specifies the order status object.
{return} boolean returns FALSE if the internal notification should be stopped.
Allows to cancel the internal user notification when an order changes its status. The handler should return FALSE value if the notification should not be sent.