Убрана некорректная запись внешнего идентификатора платежа для новых платежей по истории
fixed #168
This commit is contained in:
commit
185434f531
@ -1178,9 +1178,6 @@ class RetailCrmHistory
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$paymentExternalId = $orderPayment->getId();
|
|
||||||
|
|
||||||
if ($paymentExternalId) {
|
|
||||||
$newHistoryPayments[$orderPayment->getField('XML_ID')]['externalId'] = $paymentExternalId;
|
$newHistoryPayments[$orderPayment->getField('XML_ID')]['externalId'] = $paymentExternalId;
|
||||||
RCrmActions::apiMethod(
|
RCrmActions::apiMethod(
|
||||||
$api,
|
$api,
|
||||||
@ -1195,7 +1192,6 @@ class RetailCrmHistory
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
if (!$order['externalId']) {
|
if (!$order['externalId']) {
|
||||||
$order["externalId"] = $newOrder->getId();
|
$order["externalId"] = $newOrder->getId();
|
||||||
|
Loading…
Reference in New Issue
Block a user