commerce_cardonfile_recurring.module in Commerce Card on File 7.2
Provides cardonfile integration for Commerce Recurring 2.x
File
modules/recurring/commerce_cardonfile_recurring.moduleView source
<?php
/**
* @file
* Provides cardonfile integration for Commerce Recurring 2.x
*/
/**
* Implements hook_commerce_order_status_info().
*/
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;
}
Functions
Name | Description |
---|---|
commerce_cardonfile_recurring_commerce_order_status_info | Implements hook_commerce_order_status_info(). |