You have to create simple Joomla system plugin. If you want to find out more about Joomla plugin creating please refer to this article.
Right now there is only one event in Emerald. But if yo u need more just let us know and we will add it within a week.
Ерш plugin is triggered after subscription was successfully activated.
public function onAfterSubscriptionActivated($subscription, $plan)
{
}
Param | Description |
---|---|
$subscription |
JTable object of just activated subscription. |
$plan |
Object that contain plan. |