function uc_recurring_event_info in UC Recurring Payments and Subscriptions 6
File
- ./
uc_recurring.module, line 435 - 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',
'#label' => t('Order'),
),
),
);
$events['fee_charge_successful'] = array(
'#label' => t('Payment is charged successfully'),
'#module' => t('Recurring Payments'),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#label' => t('Order'),
),
),
);
$events['fee_charge_fails'] = array(
'#label' => t('Payment charge fails'),
'#module' => t('Recurring Payments'),
'#arguments' => array(
'order' => array(
'#entity' => 'order',
'#label' => t('Order'),
),
),
);
return $events;
}