diff --git a/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php b/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php index 54172ce..658bc7a 100644 --- a/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php +++ b/src/upload/system/library/retailcrm/lib/service/RetailcrmOrderConverter.php @@ -109,7 +109,7 @@ class RetailcrmOrderConverter { } $payment = array( - 'externalId' => sprintf("opencart_%d", $this->order_data['order_id']), + 'externalId' => uniqid($this->order_data['order_id'] . "-"), 'amount' => $this->getTotal('total') );