diff --git a/src/include/order/class-wc-retailcrm-order-payment.php b/src/include/order/class-wc-retailcrm-order-payment.php index da836ee..c6a8402 100644 --- a/src/include/order/class-wc-retailcrm-order-payment.php +++ b/src/include/order/class-wc-retailcrm-order-payment.php @@ -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(