fixed generate payment externalId number
This commit is contained in:
parent
c79e3ab064
commit
2060b29e20
@ -58,7 +58,7 @@ class WC_Retailcrm_Order_Payment extends WC_Retailcrm_Abstracts_Data
|
|||||||
if (!$this->is_new) {
|
if (!$this->is_new) {
|
||||||
$data['externalId'] = $externalId;
|
$data['externalId'] = $externalId;
|
||||||
} else {
|
} else {
|
||||||
$data['externalId'] = uniqid($order->get_id());
|
$data['externalId'] = uniqid($order->get_id() . "-");
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['order'] = array(
|
$data['order'] = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user