Commit 394114bc authored by jenlampton's avatar jenlampton

Add a note about recurring transactions. Move debug setting to bottom.

parent 1fdb2c8a
......@@ -24,11 +24,9 @@ function authorizenetwebform_admin_settings() {
$form['authorizenetwebform_mode']['test']['#description'] = t('Posts to https://test.authorize.net/gateway/transact.dll');
$form['authorizenetwebform_mode']['main']['#description'] = t('Posts to https://secure.authorize.net/gateway/transact.dll');
$form['authorizenetwebform_debug'] = array(
'#type' => 'checkbox',
'#title' => t('Debug mode'),
'#description' => t('When enabled, the complete response from Auth.net will be stored.<br/>If the <em>Devel</em> module is enabled, the complete response from Auth.net will also be printed to the screen.'),
'#default_value' => variable_get('authorizenetwebform_debug', FALSE),
$form['authorizenetwebform_recurring'] = array(
'#type' => 'markup',
'#markup' => '<h3>' . t('Recurring transactions') . '</h3><p>' . t('Using the recurring billing option will immedialtey run a one-time transaction for the recurring amount. Then a recurring payment transaction will be set up, and this will begin on the 2nd month.') . '</p>',
);
$form['login'] = array(
......@@ -67,6 +65,13 @@ function authorizenetwebform_admin_settings() {
'#rows' => 5,
);
$form['authorizenetwebform_debug'] = array(
'#type' => 'checkbox',
'#title' => t('Debug mode'),
'#description' => t('When enabled, the complete response from Auth.net will be stored.<br/>If the <em>Devel</em> module is enabled, the complete response from Auth.net will also be printed to the screen.'),
'#default_value' => variable_get('authorizenetwebform_debug', FALSE),
);
$form['#validate'][] = 'authorizenetwebform_parse_custom_field_spec';
return system_settings_form($form);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment