function commerce_braintree_hostedfields_default_settings in Commerce Braintree 7.2
Same name and namespace in other branches
- 7.3 modules/commerce_braintree_hostedfields/commerce_braintree_hostedfields.module \commerce_braintree_hostedfields_default_settings()
Returns the default settings for Hosted Fields.
1 call to commerce_braintree_hostedfields_default_settings()
- commerce_braintree_hostedfields_settings_form in modules/
commerce_braintree_hostedfields/ commerce_braintree_hostedfields.module - Payment method callback: Braintree Web settings form.
File
- modules/
commerce_braintree_hostedfields/ commerce_braintree_hostedfields.module, line 64 - Provides integration with Braintree Hosted Fields.
Code
function commerce_braintree_hostedfields_default_settings() {
return array(
'merchant_id' => '',
'public_key' => '',
'private_key' => '',
'merchant_account_id' => '',
'descriptor_name' => '',
'environment' => 'sandbox',
'paypal_button' => FALSE,
'advanced_fraud_detect' => FALSE,
'cardonfile' => FALSE,
'submit_for_settlement' => TRUE,
);
}