code: def get_backend_setting(cls, name, default=None):
          
          backend_settings = get_backend_settings(cls.BACKEND)
          if default is not None:
              return backend_settings.get(name, default)
          else:
              try:
                  return backend_settings[name]
              except KeyError:
                  raise ImproperlyConfigured("getpaid '%s' requires backend '%s' setting" % (cls.BACKEND, name))
docs: Reads ``name`` setting from backend settings dictionary.
  
          If `default` value is omitted, raises ``ImproperlyConfigured`` when
          setting ``name`` is not available.