orderCreate fix
This commit is contained in:
parent
fb582a1752
commit
7fdddd5edf
@ -80,7 +80,8 @@ class ICrmOrderEvent {
|
|||||||
'optionsPayment' => $optionsPayment
|
'optionsPayment' => $optionsPayment
|
||||||
);
|
);
|
||||||
|
|
||||||
$result = ICrmOrderActions::orderCreate($ID, $api, $arParams, true);
|
$arOrder = CSaleOrder::GetById($ID);
|
||||||
|
$result = ICrmOrderActions::orderCreate($arOrder, $api, $arParams, true);
|
||||||
|
|
||||||
if(!$result) {
|
if(!$result) {
|
||||||
ICrmOrderActions::eventLog('ICrmOrderEvent::writeDataOnOrderCreate', 'ICrmOrderActions::orderCreate', 'error during creating order');
|
ICrmOrderActions::eventLog('ICrmOrderEvent::writeDataOnOrderCreate', 'ICrmOrderActions::orderCreate', 'error during creating order');
|
||||||
|
Loading…
Reference in New Issue
Block a user