function uc_recurring_product_order_view_update_form_submit in UC Recurring Payments and Subscriptions 6.2
Same name and namespace in other branches
- 7.2 modules/uc_recurring_product/uc_recurring_product.module \uc_recurring_product_order_view_update_form_submit()
Submit handler for the processing recurring fee.
1 string reference to 'uc_recurring_product_order_view_update_form_submit'
- uc_recurring_product_form_uc_order_view_update_form_alter in modules/
uc_recurring_product/ uc_recurring_product.module - Implementation of hook_form_FORM-ID_alter().
File
- modules/
uc_recurring_product/ uc_recurring_product.module, line 238 - Add recurring payments/fees to a product. This is imlpemented through Ubercarts product features.
Code
function uc_recurring_product_order_view_update_form_submit($form, &$form_state) {
$order = uc_order_load($form_state['values']['order_id']);
uc_recurring_product_process_order($order);
}