Index: /mods/wpsg_mod_autodebit.class.php
===================================================================
--- /mods/wpsg_mod_autodebit.class.php	(revision 6180)
+++ /mods/wpsg_mod_autodebit.class.php	(revision 6181)
@@ -294,7 +294,8 @@
 		public function checkCheckout(&$state, &$error, &$arCheckout) 
 		{ 
+			echo $arCheckout['payment'];
 	 
-			if (!wpsg_isSizedString($arCheckout['payment'], $this->id)) return;
-				
+			if (!wpsg_isSizedString($arCheckout['payment'], strval($this->id))) return;
+	
 			// Werte in die Session und den Checkout schreiben schreiben
 			if (
