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

Triggered by Shop_Order
Author LemonStand eCommerce Inc.

Event handler signature

public boolean event_onAutomatedBillingSupported()
{return} boolean returns TRUE, if the automated billing features are enabled. Returns FALSE otherwise.
Allows to enable the automated bulling features in LemonStand.
public function subscribeEvents()
{
  Backend::$events->addEvent('shop:onAutomatedBillingSupported', $this, 'process_auto_billing_supported');
}

public function process_auto_billing_supported()
{
  return true;
}