function commerce_cardonfile_recurring_commerce_order_status_info in Commerce Card on File 7.2
Implements hook_commerce_order_status_info().
File
- modules/
recurring/ commerce_cardonfile_recurring.module, line 11 - Provides cardonfile integration for Commerce Recurring 2.x
Code
function commerce_cardonfile_recurring_commerce_order_status_info() {
$order_statuses = array();
// Create a new status before Pending so we can generate orders in recurring
// processes without interfering with the current cart for the user.
$order_statuses['cardonfile_charged'] = array(
'name' => 'cardonfile_charged',
'title' => t('Charged'),
'state' => 'pending',
'weight' => 1,
);
return $order_statuses;
}