|
@@ -430,12 +430,12 @@ class BxPaymentModule extends BxBaseModPaymentModule
|
|
|
if(empty($aPending) || !is_array($aPending))
|
|
if(empty($aPending) || !is_array($aPending))
|
|
|
return false;
|
|
return false;
|
|
|
|
|
|
|
|
- if((int)$aPending['processed'] == 1)
|
|
|
|
|
- return true;
|
|
|
|
|
-
|
|
|
|
|
$sType = $aPending['type'];
|
|
$sType = $aPending['type'];
|
|
|
$bTypeSingle = $sType == BX_PAYMENT_TYPE_SINGLE;
|
|
$bTypeSingle = $sType == BX_PAYMENT_TYPE_SINGLE;
|
|
|
|
|
|
|
|
|
|
+ if($bTypeSingle && (int)$aPending['processed'] == 1)
|
|
|
|
|
+ return true;
|
|
|
|
|
+
|
|
|
$iClientId = (int)$aPending['client_id'];
|
|
$iClientId = (int)$aPending['client_id'];
|
|
|
$sLicense = $this->_oConfig->getLicense();
|
|
$sLicense = $this->_oConfig->getLicense();
|
|
|
|
|
|