Fixed bug of sending incorrect externalId when editing payment 2
This commit is contained in:
parent
da3a828560
commit
5055bb710c
@ -410,8 +410,7 @@ if ( ! class_exists( 'WC_Retailcrm_Orders' ) ) :
|
||||
|
||||
if ($update) {
|
||||
$payment['externalId'] = $externalId;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
$payment['externalId'] = $order->get_id() . uniqid('-');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user