|
@@ 1124-1133 (lines=10) @@
|
| 1121 |
|
$orderNumber = $order['merchant_reference']['orderid1']; |
| 1122 |
|
} |
| 1123 |
|
|
| 1124 |
|
if (!empty($orderNumber)) { |
| 1125 |
|
$update = []; |
| 1126 |
|
|
| 1127 |
|
$update['status'] = 'created'; |
| 1128 |
|
$update['merchant_reference'] = [ |
| 1129 |
|
'orderid1' => (string)$orderNumber, |
| 1130 |
|
'orderid2' => (string)$order['reference'], |
| 1131 |
|
]; |
| 1132 |
|
$order->update($update); |
| 1133 |
|
} |
| 1134 |
|
|
| 1135 |
|
// Saves postnumber for dhl packstation |
| 1136 |
|
if (!empty($orderNumber) |
|
@@ 1454-1463 (lines=10) @@
|
| 1451 |
|
$orderNumber = $order['merchant_reference']['orderid1']; |
| 1452 |
|
} |
| 1453 |
|
|
| 1454 |
|
if (!empty($orderNumber)) { |
| 1455 |
|
$update = []; |
| 1456 |
|
|
| 1457 |
|
$update['status'] = 'created'; |
| 1458 |
|
$update['merchant_reference'] = [ |
| 1459 |
|
'orderid1' => (string)$orderNumber, |
| 1460 |
|
'orderid2' => (string)$order['reference'], |
| 1461 |
|
]; |
| 1462 |
|
$order->update($update); |
| 1463 |
|
} |
| 1464 |
|
|
| 1465 |
|
$this->savePaymentStatus( |
| 1466 |
|
$order['reservation'], |