You are here

function _commerce_stripe_load_setting in Commerce Stripe 7.2

Same name and namespace in other branches
  1. 7.3 commerce_stripe.module \_commerce_stripe_load_setting()
  2. 7 commerce_stripe.module \_commerce_stripe_load_setting()
2 calls to _commerce_stripe_load_setting()
commerce_stripe_cardonfile_create_form in ./commerce_stripe.module
Card on file callback: create form
commerce_stripe_commerce_payment_method_info in ./commerce_stripe.module
Implements hook_commerce_payment_method_info().

File

./commerce_stripe.module, line 385
This module provides Stripe (http://stripe.com/) payment gateway integration to Commerce. Commerce Stripe offers a PCI-compliant way to process payments straight from you Commerce shop.

Code

function _commerce_stripe_load_setting($name, $default_value = NULL) {
  $settings = _commerce_stripe_load_settings($name);
  return isset($settings[$name]) ? $settings[$name] : $default_value;
}