Index: /controller/wpsg_ShopController.class.php
===================================================================
--- /controller/wpsg_ShopController.class.php	(revision 7730)
+++ /controller/wpsg_ShopController.class.php	(revision 7731)
@@ -2623,4 +2623,6 @@
 
                 }
+
+                $this->callMods('setOrderStatusMail', [$mail_text, $mail_html, $arAttachment, $order_id, $status_id]);
 
 				$this->sendMail($mail_text, $this->view['kunde']['email'], 'status', $arAttachment, $order_id, false, $mail_html);
Index: /mods/wpsg_mod_basic.class.php
===================================================================
--- /mods/wpsg_mod_basic.class.php	(revision 7730)
+++ /mods/wpsg_mod_basic.class.php	(revision 7731)
@@ -377,5 +377,7 @@
 		 */
 		public function setOrderStatus($order_id, $status_id, $inform) { }
-		
+
+        public function setOrderStatusMail(&$mail_text, &$mail_html, &$arAttachment, &$order_id, &$status_id) {}
+
 		/**
 		 * Wird in der Bestellverwaltung aufgerufen um im rechten Bereich neue Elemente zu platzieren
Index: /mods/wpsg_mod_paypalapi.class.php
===================================================================
--- /mods/wpsg_mod_paypalapi.class.php	(revision 7730)
+++ /mods/wpsg_mod_paypalapi.class.php	(revision 7731)
@@ -1697,5 +1697,5 @@
             $client = new \PayPalCheckoutSdk\Core\PayPalHttpClient($this->api_getEnvironment());
 
-            if ($oOrder->getId() > 0 && $oOrder->status == wpsg_ShopController::STATUS_UNVOLLSTAENDIG) {
+            if ($oOrder->getId() > 0 && intval($oOrder->status) !== wpsg_ShopController::STATUS_UNVOLLSTAENDIG) {
 
                 $application_context = [
