Add prefix to externalId payment (#217)

This commit is contained in:
Yura 2020-12-28 11:06:01 +03:00 committed by GitHub
parent 4359f084bd
commit 7cdab05aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')
);