Index: /mods/wpsg_mod_willcollect.class.php
===================================================================
--- /mods/wpsg_mod_willcollect.class.php	(revision 5958)
+++ /mods/wpsg_mod_willcollect.class.php	(revision 5959)
@@ -322,4 +322,28 @@
 		} // public function calcShipping(&$arBasket)
 		
+		/**
+		 * Fehlermeldung wird in der setBasketData geschrieben,
+		 * umleitung erfolgt aber schon hier, damit man aus dem Warenkorb nicht rauskommt
+		 */
+		public function checkBasket(&$bError)
+		{
+			
+			if ($this->shop->basket->arCheckout['payment'] == $this->id)
+			{
+				
+				// Zahlungsart Barzahlung wurde gewÃ€hlt => Dann muss die Versandart "Selbstabholung" sein
+				if ($this->shop->basket->arCheckout['shipping'] != $this->id) { $bError = false; }
+				
+			}
+			
+			if ($this->shop->basket->arCheckout['shipping'] == $this->id)
+			{
+				
+				if ($this->shop->basket->arCheckout['payment'] != $this->id && $this->shop->get_option('wpsg_mod_willcollect_paymentneed') == '1') { $bError = false; }
+				
+			}
+			
+		}
+		
 		public function checkCheckout(&$state, &$error, &$arCheckout) 
 		{ 
