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:onNewOrder event

Triggered by Shop_Order
Author LemonStand eCommerce Inc.

Event handler signature

public void event_onNewOrder(integer $order_id)
$order_id integer specifies the order identifier.
Triggered after a new order is placed. Inside the event handler you can perform further order processing. Event handler example: