Merge pull request #100 from Frosin/master
fixed generate payment externalId
This commit is contained in:
commit
3a0ee18ceb
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user