=== modified file 'payment/uc_credit/uc_credit.module' --- payment/uc_credit/uc_credit.module 2009-10-06 18:25:04 +0000 +++ payment/uc_credit/uc_credit.module 2009-10-20 18:42:06 +0000 @@ -629,8 +629,13 @@ return $output; case 'order-details': - $details = drupal_get_form('uc_payment_method_credit_form', $arg1); - return uc_strip_form($details); + if (variable_get('uc_credit_debug', FALSE)) { + $details = drupal_get_form('uc_payment_method_credit_form', $arg1); + return uc_strip_form($details); + } + else { + return t('Use the terminal available through the
%button button on the View tab to
process credit card payments.', array('%button' => t('Process card'))); + } case 'edit-process': $cache = uc_credit_cache('load');