You are here

function commerce_payleap_default_settings in Commerce Payleap 7

Returns the default settings for the PayLeap AIM payment method.

2 calls to commerce_payleap_default_settings()
commerce_payleap_cof_settings_form in ./commerce_payleap.module
Payment method callback: settings form.
commerce_payleap_direct_settings_form in ./commerce_payleap.module
Payment method callback: settings form.

File

./commerce_payleap.module, line 109
Implements PayLeap payment services for use in Drupal Commerce.

Code

function commerce_payleap_default_settings() {
  return array(
    'login' => '',
    'tran_key' => '',
    'txn_mode' => PAYLEAP_TXN_MODE_TEST,
    'txn_type' => COMMERCE_CREDIT_AUTH_CAPTURE,
    'vendor_number' => '',
    'log' => array(
      'request' => '0',
      'response' => '0',
    ),
    'failure_interval' => '',
    'max_failures' => '',
  );
}