16 static public function paidNotify(
Event $event)
22 $colletion = $payment->getCollection();
23 $order = $colletion->getOrder();
25 if(static::isSync($order) ==
true)
27 if($payment->isPaid())
30 'ENTITY_TYPE_ID' =>Integration\CRM\EntityType::ORDER_PAYMENT,
31 'FIELD_NAME' =>
'PAID',
32 'CURRENT_VALUE' =>
'Y',
33 'LEGEND' =>
Loc::getMessage(
'SALE_INTEGRATION_B24_TIMELINE_PAYMENT_NUMBER').$payment->getId().
'. '.$payment->getPaymentSystemName(),
36 static::onReceive($order->getId(), $settings);
static loadMessages($file)
static getMessage($code, $replace=null, $language=null)