Index: /lib/wpsg_calculation.class.php
===================================================================
--- /lib/wpsg_calculation.class.php	(revision 7230)
+++ /lib/wpsg_calculation.class.php	(revision 7231)
@@ -215,5 +215,5 @@
         }
         
-        public function addProduct($set, $bruttonetto, $tax_key, $amount, $product_key, $product_index = false, $order_product_id = false, $eu = false) {
+        public function addProduct($set, $bruttonetto, $tax_key, $amount, $product_key, $product_index = false, $order_product_id = false, $eu = false, $ses_data = false) {
             					
             $tax_key = $this->normalizeTaxKey($tax_key, (($eu === true)?$this->getTargetCountryID():$this->getDefaultCountryID()));
@@ -231,5 +231,5 @@
 			}
             
-            $this->arCalculationRow[] = [
+            $p = [
             	'type' => 'product',
 				'amount' => $amount,
@@ -245,4 +245,8 @@
 				]
 			];
+	
+			$this->shop->callMods('calculation_addProduct',[&$p, $ses_data]);
+	
+			$this->arCalculationRow[] = $p;
 	
 			$this->arCalculation = null;
@@ -454,5 +458,5 @@
         	
             $arCalculation = $this->getCalculationArray();
-
+            
             $db_data['price_gesamt_netto'] = wpsg_q($arCalculation['sum']['netto']);
             $db_data['price_gesamt_brutto'] = wpsg_q($arCalculation['sum']['brutto']);
@@ -577,4 +581,10 @@
 			}
 			
+			if ($finish_order) {
+				
+				$db_data['cdate'] = 'NOW()';
+				
+			}
+			
             if (wpsg_isSizedInt($id)) {
                 
@@ -582,5 +592,5 @@
                 
             }  else {
-                
+                 
                 $id = $this->db->ImportQuery(WPSG_TBL_ORDER, $db_data);
                 
@@ -820,7 +830,7 @@
 				
 				foreach ($ses['basket'] as $product_index => $p) {
-					
+					 
 					$oProduct = \wpsg_product::getInstance($this->shop->getProduktID($p['id']));
-					
+					 					
 					$this->addProduct(
 						$oProduct->getPrice($this->shop->getBackendTaxview()), 
@@ -831,7 +841,8 @@
 						$product_index, 
 						false, 
-						$oProduct->leistungsortregel
+						$oProduct->leistungsortregel,
+						$p
 					);
-					
+										
 				}
 												
Index: /wpshopgermany.php
===================================================================
--- /wpshopgermany.php	(revision 7230)
+++ /wpshopgermany.php	(revision 7231)
@@ -8,5 +8,5 @@
 	Description: Das deutsche WordPress Shop-Plugin!
 	Author: maennchen1.de
-	Version: 9.9.9
+	Version: 1.9.9
 	Author URI: http://maennchen1.de/
 	*/
@@ -14,5 +14,5 @@
 	//error_reporting(E_ALL); ini_set("display_errors", "1");
 
-	define('WPSG_VERSION', '9.9.9');
+	define('WPSG_VERSION', '1.9.9');
 
 	global $wpdb;
