RomanL 6 лет назад
Родитель
Сommit
1334f6cdc0
1 измененных файлов с 8 добавлено и 0 удалено
  1. 8 0
      modules/boonex/payment/classes/BxPaymentModule.php

+ 8 - 0
modules/boonex/payment/classes/BxPaymentModule.php

@@ -692,6 +692,14 @@ class BxPaymentModule extends BxBaseModPaymentModule
                 $this->_oConfig->putCustom($sCartItem, $aCartItemCustom, $aCustoms);
             }
         }
+        
+        bx_alert($this->getName(), 'before_pending', 0, bx_get_logged_profile_id(), array(
+            'client_id' => $this->_iUserId,
+            'type' => &$sType,
+            'provider' => &$sProvider,
+            'cart_info' => &$aInfo,
+			'custom' => &$aCustoms,
+        ));
 
         $iPendingId = $this->_oDb->insertOrderPending($this->_iUserId, $sType, $sProvider, $aInfo, $aCustoms);
         if(empty($iPendingId))