I'm using drupal 5.7 with ubercart 5.x-1.0-beta7
I keep getting this error message:
"There are no payment methods configured for orders with recurring fees!"
tested with "credit card" and "2CO" methods... keep getting same error...
and looking at the 'uc_recurring.module' there should be a selection for the recurring fee under the "feature" tab of the product... but nothing is showing.
// Adds the settings for the recurring module on the feature settings form.
function uc_recurring_settings_form() {
$form['uc_recurring_handler'] = array(
'#type' => 'select',
'#title' => t('Recurring fee handler'),
'#description' => t('Select a module to process recurring fees on your site.'),
'#options' => drupal_map_assoc(module_implements('recurring_fee', TRUE)),
'#default_value' => variable_get('uc_recurring_handler', 'uc_recurring'),
);
foreach (_payment_method_list() as $method) {
$options[$method['id']] = $method['name'];
}
$form['uc_recurring_payment_methods'] = array(
'#type' => 'checkboxes',
'#title' => t('Valid payment methods for orders with recurring fees'),
'#description' => t('Only selected payment methods will be available for customers purchasing products with recurring fees.<br/>It is up to you to make sure your chosen handler is compatible with the payment methods you select.<br />For example, the uc_recurring handler is only compatible with the Credit Card payment method.'),
'#options' => $options,
'#default_value' => variable_get('uc_recurring_payment_methods', array()),
);
$form['uc_recurring_checkout_process'] = array(
'#type' => 'checkbox',
'#title' => t('Attempt to process recurring fees during checkout.'),
'#default_value' => variable_get('uc_recurring_checkout_process', TRUE),
);
$form['uc_recurring_checkout_fail'] = array(
'#type' => 'radios',
'#title' => t('Action to take if a recurring fee fails to process during checkout'),
'#description' => t('Regardless of your selection, an admin comment will report the failure.<br/><strong>Note:</strong> Even if you select the first option, checkout will complete if another payment has already been captured.'),
'#options' => array(
'fail' => t('Return a failed message and do not complete checkout.'),
'proceed' => t('Return a failed message but complete checkout.'),
'silent' => t('Show no message and complete checkout.'),
),
'#default_value' => variable_get('uc_recurring_checkout_fail', 'fail'),
);
return $form;
}





Joined: 11/02/2007