You are here

function commerce_amex_hosted_default_settings in Commerce American Express Payment Gateway (Amex) 7

Returns the default settings for the Amex hosted payment method.

1 call to commerce_amex_hosted_default_settings()
commerce_amex_hosted_settings_form in ./commerce_amex.module
Payment method callback: settings form.

File

./commerce_amex.module, line 290
Implements American Express payment gateway for use in Drupal Commerce.

Code

function commerce_amex_hosted_default_settings() {
  return array(
    'merchant_id' => '',
    'password' => '',
    'txn_mode' => AMEX_TXN_MODE_TEST,
    'txn_3d_secure' => 1,
    'txn_url' => '',
    'txn_type' => AMEX_OP_PAY,
    'cardonfile' => FALSE,
    'continuous' => FALSE,
  );
}