LemonStand Documentation

shop:onAutomatedBillingSupported event

Use this event to indicate your module should enable the automated billing features in LemonStand. The event handler requires no parameters and should return true if the automated billing should be enabled. 

public function subscribeEvents()
{
Backend::$events->addEvent('shop:onAutomatedBillingSupported', $this, 'process_auto_billing_supported');
}
 
public function process_auto_billing_supported()
{
	return true;
}

Next: shop:onOrderBeforeUpdate event
Previous: shop:onAuthenticateCustomer event
Return to Handling LemonStand events