You are here

function uc_recurring_includes in UC Recurring Payments and Subscriptions 7.2

Same name and namespace in other branches
  1. 6.2 uc_recurring.module \uc_recurring_includes()

Include uc recurring own payment gateway implementations.

Return value

The modules that were included.

1 call to uc_recurring_includes()
uc_recurring_get_recurring_info in ./uc_recurring.module
Get the recurring handlers info.

File

./uc_recurring.module, line 710
Allows you to add a recurring fee to a product/SKU to handle subscription type services.

Code

function uc_recurring_includes() {
  $return = array();
  $modules = array(
    'uc_authorizenet',
    'uc_cybersource',
    'test_gateway',
    'uc_credit',
    'uc_payment_pack',
  );
  foreach ($modules as $module) {
    if (module_exists($module)) {
      module_load_include('inc', 'uc_recurring', '/includes/uc_recurring.' . $module);
      $return[] = $module;
    }
  }
  return $return;
}