You are here

function commerce_braintree_default_settings in Commerce Braintree 7.3

Same name and namespace in other branches
  1. 7.2 commerce_braintree.module \commerce_braintree_default_settings()

Returns the default settings for Braintree Transparent Redirect.

1 call to commerce_braintree_default_settings()
commerce_braintree_settings_form in ./commerce_braintree.module
Payment method callback: Braintree Transparent Redirect settings form.

File

./commerce_braintree.module, line 206
Integrates Braintree Transparent Redirect with Drupal Commerce.

Code

function commerce_braintree_default_settings() {
  return array(
    'merchant_id' => '',
    'public_key' => '',
    'private_key' => '',
    'merchant_account_id' => '',
    'environment' => 'sandbox',
    'cardonfile' => FALSE,
    'submit_for_settlement' => TRUE,
  );
}