1
0
mirror of synced 2025-01-18 08:51:41 +03:00

fixed generate payment externalId number

This commit is contained in:
Konstantin 2019-04-22 15:39:14 +03:00
parent c79e3ab064
commit 2060b29e20

View File

@ -58,7 +58,7 @@ class WC_Retailcrm_Order_Payment extends WC_Retailcrm_Abstracts_Data
if (!$this->is_new) {
$data['externalId'] = $externalId;
} else {
$data['externalId'] = uniqid($order->get_id());
$data['externalId'] = uniqid($order->get_id() . "-");
}
$data['order'] = array(