You are here

function commerce_authnet_aim_default_settings in Commerce Authorize.Net 7

Returns the default settings for the Authorize.Net AIM payment method.

1 call to commerce_authnet_aim_default_settings()
commerce_authnet_aim_settings_form in ./commerce_authnet.module
Payment method callback: settings form.

File

./commerce_authnet.module, line 222
Implements Authorize.Net payment services for use in Drupal Commerce.

Code

function commerce_authnet_aim_default_settings() {
  return array(
    'login' => '',
    'tran_key' => '',
    'txn_mode' => AUTHNET_TXN_MODE_LIVE_TEST,
    'txn_type' => COMMERCE_CREDIT_AUTH_CAPTURE,
    'cardonfile' => FALSE,
    'continuous' => FALSE,
    'email_customer' => FALSE,
    'log' => array(
      'request' => '0',
      'response' => '0',
    ),
    'card_types' => array(),
  );
}