function uc_recurring_event_info in Ubercart 5
File
- payment/
uc_recurring/ uc_recurring.module, line 353 - Allows you to add a recurring fee to a product/SKU to handle subscription type services.
Code
function uc_recurring_event_info() {
$events['fee_expires'] = array(
'#label' => t('Recurring payment expires'),
'#module' => t('Recurring Payments'),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#lable' => t('Order'),
),
),
);
$events['fee_charge_successful'] = array(
'#label' => t('Payment is charged successfully'),
'#module' => t('Recurring Payments'),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#lable' => t('Order'),
),
),
);
$events['fee_charge_fails'] = array(
'#label' => t('Payment charge fails'),
'#module' => t('Recurring Payments'),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#lable' => t('Order'),
),
),
);
return $events;
}