public static function getConfigSetting($gateway, $key)
    {
        $config = self::config()->get($gateway);

        if (!is_array($config)) {
            return null;
        }

        return isset($config[$key]) ? $config[$key] : null;
    }