1
0
mirror of synced 2025-02-21 09:23:14 +03:00

Fixed bug of sending incorrect externalId when editing payment 2

This commit is contained in:
Konstantin 2019-03-14 15:58:36 +03:00
parent da3a828560
commit 5055bb710c

View File

@ -410,8 +410,7 @@ if ( ! class_exists( 'WC_Retailcrm_Orders' ) ) :
if ($update) {
$payment['externalId'] = $externalId;
}
else {
} else {
$payment['externalId'] = $order->get_id() . uniqid('-');
}