Code Duplication    Length = 3-3 lines in 2 locations

Controllers/Frontend/PaymentKlarna.php 2 locations

@@ 1120-1122 (lines=3) @@
1117
            }
1118
1119
1120
            if (empty($orderNumber) && !empty($order['merchant_reference']['orderid1'])) {
1121
                $orderNumber = $order['merchant_reference']['orderid1'];
1122
            }
1123
1124
            if (!empty($orderNumber)) {
1125
                $update = [];
@@ 1450-1452 (lines=3) @@
1447
            }
1448
        }
1449
1450
        if (empty($orderNumber) && !empty($order['merchant_reference']['orderid1'])) {
1451
            $orderNumber = $order['merchant_reference']['orderid1'];
1452
        }
1453
1454
        if (!empty($orderNumber)) {
1455
            $update = [];