You are here

function commerce_authnet_acceptjs_default_settings in Commerce Authorize.Net 7

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

1 call to commerce_authnet_acceptjs_default_settings()
commerce_authnet_acceptjs_settings_form in includes/commerce_authnet.acceptjs.inc
Payment method callback: settings form.

File

includes/commerce_authnet.acceptjs.inc, line 11
Includes the Accept.js payment method callbacks.

Code

function commerce_authnet_acceptjs_default_settings() {
  return array(
    'login' => '',
    'tran_key' => '',
    'client_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(),
  );
}