Index: /controller/wpsg_AdminController.class.php
===================================================================
--- /controller/wpsg_AdminController.class.php	(revision 7420)
+++ /controller/wpsg_AdminController.class.php	(revision 7422)
@@ -2042,21 +2042,35 @@
                 \check_admin_referer('wpsg-save-config');
 			    
-				$this->update_option('wpsg_currency', $_REQUEST['wpsg_currency'], false, false, "text_field");
-				$this->update_option('wpsg_showincompleteorder', $_REQUEST['wpsg_showincompleteorder'], false, false, "key");
-				$this->update_option('wpsg_produkte_perpage', $_REQUEST['wpsg_produkte_perpage'], false, false, "key");
-				$this->update_option('wpsg_emptyorder_clear', $_REQUEST['wpsg_emptyorder_clear'], false, false, "key");
-				$this->update_option('wpsg_order_perpage', $_REQUEST['wpsg_order_perpage'], false, false, "key");
-				$this->update_option('wpsg_skip_checkout2', $_REQUEST['wpsg_skip_checkout2'], false, false, "key");
-				$this->update_option('wpsg_afterinsert', $_REQUEST['wpsg_afterinsert'], false, false, "key");
-				$this->update_option('wpsg_afterorder', $_REQUEST['wpsg_afterorder'], false, false, "key");
-				$this->update_option('wpsg_format_knr', $_REQUEST['wpsg_format_knr'], false, false, "text_field");
-				$this->update_option('wpsg_order_knr', $_REQUEST['wpsg_order_knr'], false, false, "key");
-				$this->update_option('wpsg_customer_start', $_REQUEST['wpsg_customer_start'], false, false, "key");
-				$this->update_option('wpsg_format_onr', $_REQUEST['wpsg_format_onr'], false, false, "text_field");
-				$this->update_option('wpsg_order_start', $_REQUEST['wpsg_order_start'], false, false, "key");
-
-				if (wpsg_isSizedString($_REQUEST['wpsg_backend_language']))
-				{
-					$this->update_option('wpsg_backend_language', wpsg_xss($_REQUEST['wpsg_backend_language']));
+				$this->update_option('wpsg_currency', $_REQUEST['wpsg_currency'], false, false, WPSG_SANITIZE_TEXTFIELD);
+				$this->update_option('wpsg_produkte_perpage', $_REQUEST['wpsg_produkte_perpage'], false, false, WPSG_SANITIZE_INT);
+				$this->update_option('wpsg_order_perpage', $_REQUEST['wpsg_order_perpage'], false, false, WPSG_SANITIZE_INT);
+				$this->update_option('wpsg_showincompleteorder', $_REQUEST['wpsg_showincompleteorder'], false, false, WPSG_SANITIZE_CHECKBOX);				
+				$this->update_option('wpsg_emptyorder_clear', $_REQUEST['wpsg_emptyorder_clear'], false, false, WPSG_SANITIZE_CHECKBOX);
+				$this->update_option('wpsg_afterinsert', $_REQUEST['wpsg_afterinsert'], false, false, WPSG_SANITIZE_VALUES, ['0', '1', '2', '3']);
+				$this->update_option('wpsg_afterorder', $_REQUEST['wpsg_afterorder'], false, false, WPSG_SANITIZE_VALUES, ['0', '1']);
+				$this->update_option('wpsg_format_knr', $_REQUEST['wpsg_format_knr'], false, false, WPSG_SANITIZE_TEXTFIELD);
+				$this->update_option('wpsg_order_knr', $_REQUEST['wpsg_order_knr'], false, false, WPSG_SANITIZE_VALUES, ['0', '1']);
+				$this->update_option('wpsg_customer_start', $_REQUEST['wpsg_customer_start'], false, false, WPSG_SANITIZE_INT);
+				$this->update_option('wpsg_format_onr', $_REQUEST['wpsg_format_onr'], false, false, WPSG_SANITIZE_TEXTFIELD);
+				$this->update_option('wpsg_order_start', $_REQUEST['wpsg_order_start'], false, false, WPSG_SANITIZE_INT);
+				$this->update_option('wpsg_skip_checkout2', $_REQUEST['wpsg_skip_checkout2'], false, false, WPSG_SANITIZE_CHECKBOX);
+				
+				if (wpsg_isSizedString($_REQUEST['wpsg_backend_language'])) {
+					
+					$arLang = $this->shop->getStoreLanguages();
+					$arLangKey = [];
+					
+					if (wpsg_isSizedArray($arLang)) {
+						
+						foreach ($arLang as $lang) {
+							
+							$arLangKey[] = $lang['lang'];
+							
+						}
+						
+					}
+					
+					$this->update_option('wpsg_backend_language', $_REQUEST['wpsg_backend_language'], false, false,WPSG_SANITIZE_VALUES, $arLangKey);
+					
 				}
 
Index: /controller/wpsg_SystemController.class.php
===================================================================
--- /controller/wpsg_SystemController.class.php	(revision 7420)
+++ /controller/wpsg_SystemController.class.php	(revision 7422)
@@ -93,4 +93,5 @@
 			if (wpsg_isSizedString($sanitize_type)) {
 
+				/*
 				array_unshift($sanitize_params, $value);
 				array_unshift($sanitize_params, $sanitize_type);
@@ -109,5 +110,18 @@
 					
 				}
-
+				*/ 
+				
+				$bValid = wpsg_checkInput($value, $sanitize_type, $sanitize_params);
+
+				if (!$bValid) {
+					 
+					$GLOBALS['wpsg_sc']->addBackendError(__('Ihre Eingaben in den markierten Feldern waren ungÃŒltig, bitte ÃŒberprÃŒfen.', 'wpsg'));
+					
+					$_SESSION['sanitization_err_fields'][$key] = 0;
+					
+					return false; 
+					
+				}
+				
 			}
 
Index: /lib/functions.inc.php
===================================================================
--- /lib/functions.inc.php	(revision 7420)
+++ /lib/functions.inc.php	(revision 7422)
@@ -498,5 +498,87 @@
 		
 	} // function wpsg_xss($value)
-
+	
+	/**
+	 * PrÃŒft Eingaben auf GÃŒltigkeit
+	 *
+	 * @param $val
+	 * @param $type
+	 *
+	 * @return bool true wenn GÃŒltig
+	 * @throws Exception
+	 */
+	function wpsg_checkInput(&$val, $type, $param = null) {
+		
+		$bReturn = false;
+		
+		if (!is_numeric($type)) $type = -1;
+		
+		switch ($type) {
+			
+			case WPSG_SANITIZE_CHECKBOX:
+				
+				if (in_array($val, ['0', '1'])) $bReturn = true;
+				
+				break;
+			
+			case WPSG_SANITIZE_PATH:
+			case WPSG_SANITIZE_APIKEY:
+			case WPSG_SANITIZE_URL:
+			case WPSG_SANITIZE_TEXTFIELD:
+				
+				if (sanitize_text_field($val) == $val) $bReturn = true;
+				
+				break;
+				
+			case WPSG_SANITIZE_TEXTAREA:
+				
+				if (sanitize_textarea_field($val) == $val) $bReturn = true;
+				
+				break;
+				
+			case WPSG_SANITIZE_INT: 
+				
+				if (intval($val) == $val) $bReturn = true;
+				
+				break;
+							
+			case WPSG_SANITIZE_VALUES: 
+				
+				if (!wpsg_isSizedArray($param)) throw new \Exception(__('Systemfehlder! wpsg_checkInput mit $type = values ohne Angabe von mÃ¶glichen Werten aufgerufen.'));
+				
+				if (in_array($val, $param)) $bReturn = true;
+				
+				break;
+				
+			case WPSG_SANITIZE_FLOAT:
+				
+				if (sanitize_text_field($val) == $val) {
+					
+					$bReturn = true;
+									
+					$val = wpsg_tf($val, true);
+					
+				}
+				
+				break;
+				
+			case WPSG_SANITIZE_TAXKEY:
+				
+				if (in_array($val, ['0',  'a', 'b', 'c', 'd', 'e'])) $bReturn = true;
+				
+				break; 
+				
+			default:
+			 
+				//throw new \Exception(wpsg_translate(__('Typ #1# fÃŒr EingabeÃŒberprÃŒfung nicht definiert.', 'wpsg'), $type));
+				
+				break;
+				
+		}
+				
+		return $bReturn;
+		
+	}
+	
 	/**
 	 * Entry function for universal sanitization and validation
@@ -544,6 +626,5 @@
 			"sanitize_user" => "str",
 			'sanitize_wpsg_in_array' => 'in_array',
-			'sanitize_wpsg_checkbox' => 'checkbox',
-			"wpsg_txt_tbl" => "txt_tbl"			
+			'sanitize_wpsg_checkbox' => 'checkbox',			
 		);
 		
@@ -551,5 +632,5 @@
 		if (!function_exists($type) && strpos($type, "wpsg_") === false)
 			throw new \wpsg\Exception("Function $type does not exists in the WordPress function pool.");
-		
+		 
 		# Validation (and Sanitization for type txt_tbl)
 		switch($validTypes[$type])
@@ -627,5 +708,5 @@
 				if ($nPrimary !== $primary) {
 					
-					$GLOBALS['wpsg_sc']->addBackendError(__('1UngÃŒltige Eingaben, bitte ÃŒberprÃŒfen Sie die markierten Felder.', 'wpsg'));
+					$GLOBALS['wpsg_sc']->addBackendError(__('UngÃŒltige Eingaben, bitte ÃŒberprÃŒfen Sie die markierten Felder.', 'wpsg'));
 					
 					return false;
Index: /mods/wpsg_mod_autodebit.class.php
===================================================================
--- /mods/wpsg_mod_autodebit.class.php	(revision 7420)
+++ /mods/wpsg_mod_autodebit.class.php	(revision 7422)
@@ -109,11 +109,11 @@
 
 			$this->shop->update_option('wpsg_mod_autodebit_bezeichnung', $_REQUEST['wpsg_mod_autodebit_bezeichnung'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_autodebit_aktiv', $_REQUEST['wpsg_mod_autodebit_aktiv'], false, false, "key");
+			$this->shop->update_option('wpsg_mod_autodebit_aktiv', $_REQUEST['wpsg_mod_autodebit_aktiv'], false, false, "wpsg_checkbox");
 			$this->shop->update_option('wpsg_mod_autodebit_hint', $_REQUEST['wpsg_mod_autodebit_hint'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_autodebit_gebuehr', $_REQUEST['wpsg_mod_autodebit_gebuehr'], false, false, "key", ["isFloat"]);
-			$this->shop->update_option('wpsg_mod_autodebit_mwst', $_REQUEST['wpsg_mod_autodebit_mwst'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_autodebit_mwstland', $_REQUEST['wpsg_mod_autodebit_mwstland'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_autodebit_iban', $_REQUEST['wpsg_mod_autodebit_iban'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_autodebit_bic', $_REQUEST['wpsg_mod_autodebit_bic'], false, false, "key");
+			$this->shop->update_option('wpsg_mod_autodebit_gebuehr', $_REQUEST['wpsg_mod_autodebit_gebuehr'], false, false, "wpsg_tf");
+			$this->shop->update_option('wpsg_mod_autodebit_mwst', $_REQUEST['wpsg_mod_autodebit_mwst'], false, false, "wpsg_taxkey");
+			$this->shop->update_option('wpsg_mod_autodebit_mwstland', $_REQUEST['wpsg_mod_autodebit_mwstland'], false, false, "wpsg_checkbox");
+			$this->shop->update_option('wpsg_mod_autodebit_iban', $_REQUEST['wpsg_mod_autodebit_iban'], false, false, "wpsg_checkbox");
+			$this->shop->update_option('wpsg_mod_autodebit_bic', $_REQUEST['wpsg_mod_autodebit_bic'], false, false, "wpsg_checkbox");
 				
 		} // public function settings_save()
Index: /mods/wpsg_mod_paypal.class.php
===================================================================
--- /mods/wpsg_mod_paypal.class.php	(revision 7420)
+++ /mods/wpsg_mod_paypal.class.php	(revision 7422)
@@ -90,8 +90,8 @@
 				$_REQUEST['wpsg_mod_paypal_stornostate'][$k] = wpsg_sinput("key", $v);
 
-			$this->shop->update_option('wpsg_mod_paypal_bezeichnung', $_REQUEST['wpsg_mod_paypal_bezeichnung'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypal_aktiv', $_REQUEST['wpsg_mod_paypal_aktiv'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypal_hint', $_REQUEST['wpsg_mod_paypal_hint'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypal_gebuehr', $_REQUEST['wpsg_mod_paypal_gebuehr'], false, false, "key", ["isFloat"]);
+			$this->shop->update_option('wpsg_mod_paypal_bezeichnung', $_REQUEST['wpsg_mod_paypal_bezeichnung'], false, false, WPSG_SANITIZE_TEXTFIELD);
+			$this->shop->update_option('wpsg_mod_paypal_aktiv', $_REQUEST['wpsg_mod_paypal_aktiv'], false, false, WPSG_SANITIZE_CHECKBOX);
+			$this->shop->update_option('wpsg_mod_paypal_hint', $_REQUEST['wpsg_mod_paypal_hint'], false, false, WPSG_SANITIZE_TEXTAREA);
+			$this->shop->update_option('wpsg_mod_paypal_gebuehr', $_REQUEST['wpsg_mod_paypal_gebuehr'], false, false, WPSG_SANITIZE_FLOAT);
 			$this->shop->update_option('wpsg_mod_paypal_mwst', $_REQUEST['wpsg_mod_paypal_mwst'], false, false, "wpsg_taxkey");
 			
Index: /mods/wpsg_mod_paypalapi.class.php
===================================================================
--- /mods/wpsg_mod_paypalapi.class.php	(revision 7420)
+++ /mods/wpsg_mod_paypalapi.class.php	(revision 7422)
@@ -83,40 +83,55 @@
 		} // public function settings_edit()
 		
-		public function settings_save()
-		{
-
-			foreach($_REQUEST['wpsg_mod_paypalapi_stornostate'] as $k => $v)
-				$_REQUEST['wpsg_mod_paypalapi_stornostate'][$k] = wpsg_sinput("key", $v);
-
-			$this->shop->update_option('wpsg_mod_paypalapi_clientid', $_REQUEST['wpsg_mod_paypalapi_clientid'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_secret', $_REQUEST['wpsg_mod_paypalapi_secret'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_sandbox', $_REQUEST['wpsg_mod_paypalapi_sandbox'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypalapi_sandbox_clientid', $_REQUEST['wpsg_mod_paypalapi_sandbox_clientid'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_sandbox_secret', $_REQUEST['wpsg_mod_paypalapi_sandbox_secret'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_currency', $_REQUEST['wpsg_mod_paypalapi_currency'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_webhook_log', $_REQUEST['wpsg_mod_paypalapi_webhook_log'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypalapi_webhook_logfile', $_REQUEST['wpsg_mod_paypalapi_webhook_logfile'], false, false, "text_field");
-			
-			$this->shop->update_option('wpsg_mod_paypalapi_gebuehr', $_REQUEST['wpsg_mod_paypalapi_gebuehr'], false, false, "key", ["isFloat"]);
-			$this->shop->update_option('wpsg_mod_paypalapi_mwst', $_REQUEST['wpsg_mod_paypalapi_mwst'], false, false, "wpsg_taxkey");
-			$this->shop->update_option('wpsg_mod_paypalapi_mwstland', $_REQUEST['wpsg_mod_paypalapi_mwstland'], false, false, "key");
-			
-			$this->shop->update_option('wpsg_mod_paypalapi_stornostate', $_REQUEST['wpsg_mod_paypalapi_stornostate']); // Sanitized at begin of function call
-			
-			$this->shop->update_option('wpsg_mod_paypalapi_aktiv', $_REQUEST['wpsg_mod_paypalapi_aktiv'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress', $_REQUEST['wpsg_mod_paypalapi_paypalexpress'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_name', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_name'], false, true, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_plus_hint', $_REQUEST['wpsg_mod_paypalapi_plus_hint'], false, true, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_subject', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_subject'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_forceSSL', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_forceSSL'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypalapi_autostart', $_REQUEST['wpsg_mod_paypalapi_autostart'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_details', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_details'], false, false, "key");
-			
-			$this->shop->update_option('wpsg_mod_paypalapi_experience_label', $_REQUEST['wpsg_mod_paypalapi_experience_label'], false, true, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_experience_logo', $_REQUEST['wpsg_mod_paypalapi_experience_logo'], false, false, "text_field");
-			$this->shop->update_option('wpsg_mod_paypalapi_experience_locale_code', $_REQUEST['wpsg_mod_paypalapi_experience_locale_code'], false, false, "text_field");
-
-			$this->shop->update_option('wpsg_mod_paypalapi_plus_aktiv', $_REQUEST['wpsg_mod_paypalapi_plus_aktiv'], false, false, "key");
-			$this->shop->update_option('wpsg_mod_paypalapi_plus_basket', $_REQUEST['wpsg_mod_paypalapi_plus_basket'], false, false, "key");
+		public function settings_save() {
+			
+			foreach ($_REQUEST['wpsg_mod_paypalapi_stornostate'] as $k => $v) {
+				
+				$bKeyValid = wpsg_checkInput($k, WPSG_SANITIZE_INT);
+				$bValueValid = wpsg_checkInput($v, WPSG_SANITIZE_CHECKBOX);
+				
+				if (!$bKeyValid || !$bValueValid) {
+					
+					$this->shop->addBackendError(__('Ihre Eingaben in den markierten Feldern waren ungÃŒltig, bitte ÃŒberprÃŒfen.', 'wpsg'));
+					
+					$_SESSION['sanitization_err_fields']['wpsg_mod_paypalapi_stornostate'] = 0;
+					
+				} else {
+					
+					$this->shop->update_option('wpsg_mod_paypalapi_stornostate', $_REQUEST['wpsg_mod_paypalapi_stornostate']); // Sanitized at begin of function call
+					
+				}
+				
+			}
+			 
+			$this->shop->update_option('wpsg_mod_paypalapi_clientid', $_REQUEST['wpsg_mod_paypalapi_clientid'], false, false, WPSG_SANITIZE_APIKEY);
+			$this->shop->update_option('wpsg_mod_paypalapi_secret', $_REQUEST['wpsg_mod_paypalapi_secret'], false, false, WPSG_SANITIZE_APIKEY);
+			$this->shop->update_option('wpsg_mod_paypalapi_sandbox', $_REQUEST['wpsg_mod_paypalapi_sandbox'], false, false, WPSG_SANITIZE_CHECKBOX);
+			$this->shop->update_option('wpsg_mod_paypalapi_sandbox_clientid', $_REQUEST['wpsg_mod_paypalapi_sandbox_clientid'], false, false, WPSG_SANITIZE_APIKEY);
+			$this->shop->update_option('wpsg_mod_paypalapi_sandbox_secret', $_REQUEST['wpsg_mod_paypalapi_sandbox_secret'], false, false, WPSG_SANITIZE_APIKEY);
+			$this->shop->update_option('wpsg_mod_paypalapi_currency', $_REQUEST['wpsg_mod_paypalapi_currency'], false, false, WPSG_SANITIZE_TEXTFIELD);
+			$this->shop->update_option('wpsg_mod_paypalapi_webhook_log', $_REQUEST['wpsg_mod_paypalapi_webhook_log'], false, false, WPSG_SANITIZE_CHECKBOX);
+			$this->shop->update_option('wpsg_mod_paypalapi_webhook_logfile', $_REQUEST['wpsg_mod_paypalapi_webhook_logfile'], false, false, WPSG_SANITIZE_PATH);
+			
+			$this->shop->update_option('wpsg_mod_paypalapi_gebuehr', $_REQUEST['wpsg_mod_paypalapi_gebuehr'], false, false, WPSG_SANITIZE_FLOAT);
+			$this->shop->update_option('wpsg_mod_paypalapi_mwst', $_REQUEST['wpsg_mod_paypalapi_mwst'], false, false, WPSG_SANITIZE_TAXKEY);
+			$this->shop->update_option('wpsg_mod_paypalapi_mwstland', $_REQUEST['wpsg_mod_paypalapi_mwstland'], false, false, WPSG_SANITIZE_CHECKBOX);
+						
+			$this->shop->update_option('wpsg_mod_paypalapi_aktiv', $_REQUEST['wpsg_mod_paypalapi_aktiv'], false, false, WPSG_SANITIZE_CHECKBOX);
+			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress', $_REQUEST['wpsg_mod_paypalapi_paypalexpress'], false, false, WPSG_SANITIZE_CHECKBOX);
+			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_forceSSL', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_forceSSL'], false, false, WPSG_SANITIZE_CHECKBOX);
+			
+			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_name', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_name'], false, true, WPSG_SANITIZE_TEXTFIELD);
+			$this->shop->update_option('wpsg_mod_paypalapi_plus_hint', $_REQUEST['wpsg_mod_paypalapi_plus_hint'], false, true, WPSG_SANITIZE_TEXTAREA);
+			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_subject', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_subject'], false, false, WPSG_SANITIZE_TEXTFIELD);
+			
+			$this->shop->update_option('wpsg_mod_paypalapi_autostart', $_REQUEST['wpsg_mod_paypalapi_autostart'], false, false, WPSG_SANITIZE_CHECKBOX);
+			$this->shop->update_option('wpsg_mod_paypalapi_paypalexpress_details', $_REQUEST['wpsg_mod_paypalapi_paypalexpress_details'], false, false, WPSG_SANITIZE_CHECKBOX);
+			
+			$this->shop->update_option('wpsg_mod_paypalapi_experience_label', $_REQUEST['wpsg_mod_paypalapi_experience_label'], false, true, WPSG_SANITIZE_TEXTFIELD);
+			$this->shop->update_option('wpsg_mod_paypalapi_experience_logo', $_REQUEST['wpsg_mod_paypalapi_experience_logo'], false, false, WPSG_SANITIZE_URL);
+			$this->shop->update_option('wpsg_mod_paypalapi_experience_locale_code', $_REQUEST['wpsg_mod_paypalapi_experience_locale_code'], false, false, WPSG_SANITIZE_VALUES, ['DE', 'GB', 'FR']);
+
+			$this->shop->update_option('wpsg_mod_paypalapi_plus_aktiv', $_REQUEST['wpsg_mod_paypalapi_plus_aktiv'], false, false, WPSG_SANITIZE_CHECKBOX);
+			$this->shop->update_option('wpsg_mod_paypalapi_plus_basket', $_REQUEST['wpsg_mod_paypalapi_plus_basket'], false, false, WPSG_SANITIZE_CHECKBOX);
 			
 			// WebHook
Index: /wpshopgermany.php
===================================================================
--- /wpshopgermany.php	(revision 7420)
+++ /wpshopgermany.php	(revision 7422)
@@ -80,4 +80,16 @@
  	define('WPSG_SLUG', WPSG_FOLDERNAME.'/wpshopgermany.php');
 	
+ 	// EingabeÃŒberprÃŒfung
+	define('WPSG_SANITIZE_INT', 0);
+	define('WPSG_SANITIZE_VALUES', 1);
+	define('WPSG_SANITIZE_CHECKBOX', 2); 
+	define('WPSG_SANITIZE_TEXTFIELD', 3);
+	define('WPSG_SANITIZE_APIKEY', 4);
+	define('WPSG_SANITIZE_FLOAT', 5);
+	define('WPSG_SANITIZE_TAXKEY', 6);
+	define('WPSG_SANITIZE_PATH', 7);
+	define('WPSG_SANITIZE_URL', 8);
+	define('WPSG_SANITIZE_TEXTAREA', 9);
+ 	
 	// Ist in Multiblog manchma nicht definiert :? Sonst ist hier das Verzeichnis drin
 	if (!defined('SITECOOKIEPATH')) define('SITECOOKIEPATH', '/');
